components/attach-file/AttachFile.module.scss
@use '/app/scss/mixins.scss' as *;
.wrapper {
    width: 100%;
    height: 100%;
    max-height: 500px;
    overflow-y: auto;
    padding-bottom: 24px;
    padding-right: 24px;
}

.icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background-color: var(--white);
    border-radius: 8px;
    font-size: 1.8rem;
    margin-right: 8px;
}

.attach-file {
    &:first-child {
        padding-top: 0;
    }
}

.file {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--text-low-color);
    cursor: pointer;
}

.file-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 4px;

    .date {
    }
}

.file-name {
    @include font-default;
    max-width: calc(100%);
    font-weight: 500;
    width: 100%;
    overflow: hidden;
    text-wrap: nowrap;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-size {
    @include font-default;
    font-size: 1.2rem;
    color: var(--text-low-color);
}

.primary {
    .icon {
        width: 20px;
        height: 20px;
    }

    .file-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .file-name {
        font-weight: bold;
    }

    background-color: var(--white);
    border-radius: 8px;
    padding: 12px;
    border: var(--solid-border);
    box-shadow: var(--box-shadow);
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
