/* File Upload Preview Styles */
.form_edit_module .file_upload_preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    min-height: 40px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.form_edit_module .file_upload_preview .no_items {
    padding: 15px;
    text-align: center;
    color: var(--cms-grey-1);
    font-size: 13px;
    background: var(--cms-black-3);
    border-radius: 8px;
    border: 1px dashed var(--cms-black-3);
}

.form_edit_module .file_preview_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form_edit_module .file_preview_item:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateX(5px);
}

.form_edit_module .file_preview_icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 8px;
    color: var(--cms-purple-text);
    flex-shrink: 0;
}

.form_edit_module .file_preview_icon i {
    font-size: 18px;
}

.form_edit_module .file_preview_info {
    flex: 1;
    min-width: 0;
}

.form_edit_module .file_preview_name {
    margin: 0;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form_edit_module .file_preview_size {
    margin: 4px 0 0 0;
    color: var(--cms-grey-1);
    font-size: 12px;
}

.form_edit_module .file_preview_remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: var(--red-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form_edit_module .file_preview_remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.form_edit_module .file_preview_remove i {
    font-size: 14px;
}

.form_edit_module .form_group .form_hint {
    margin-top: 6px;
    color: var(--cms-grey-1);
    font-size: 12px;
    font-style: italic;
}

.form_edit_module .file_accept_checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.form_edit_module .file_accept_checkboxes .checkbox_group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form_edit_module .file_accept_checkboxes .checkbox_label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white-color);
    font-size: 14px;
    user-select: none;
}

.form_edit_module .file_accept_checkboxes .checkbox_label:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
}

.form_edit_module .file_accept_checkboxes .checkbox_label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--cms-purple-text);
    margin: 0;
}

.form_edit_module .file_accept_checkboxes .checkbox_label input[type="checkbox"]:checked + span {
    color: var(--cms-purple-text);
    font-weight: 500;
}

.form_edit_module .file_accept_checkboxes .checkbox_label:has(input[type="checkbox"]:checked) {
    background: rgba(88, 101, 242, 0.15);
    border-color: var(--cms-purple-text);
}

/* Register Theme File Upload Styles */
.theme_register .form_file_upload {
    position: relative;
}

.theme_register .form_file_input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.theme_register .form_file_dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.theme_register .form_file_dropzone:hover {
    border-color: var(--cms-purple-text);
    background: rgba(88, 101, 242, 0.05);
}

.theme_register .form_file_dropzone.form_file_dropzone_drag {
    border-color: var(--cms-purple-text);
    background: rgba(88, 101, 242, 0.1);
}

.theme_register .form_file_dropzone_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.theme_register .form_file_dropzone_content i {
    font-size: 32px;
    color: var(--cms-purple-text);
    margin-bottom: 5px;
}

.theme_register .form_file_dropzone_text {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.theme_register .form_file_dropzone_hint {
    color: var(--cms-grey-1);
    font-size: 12px;
    margin: 0;
}

.theme_register .form_file_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.theme_register .form_file_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.theme_register .form_file_item:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
}

.theme_register .form_file_icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 8px;
    color: var(--cms-purple-text);
    flex-shrink: 0;
}

.theme_register .form_file_icon i {
    font-size: 16px;
}

.theme_register .form_file_info {
    flex: 1;
    min-width: 0;
}

.theme_register .form_file_name {
    margin: 0;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme_register .form_file_size {
    margin: 4px 0 0 0;
    color: var(--cms-grey-1);
    font-size: 12px;
}

.theme_register .form_file_remove {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: var(--red-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme_register .form_file_remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.theme_register .form_file_remove i {
    font-size: 12px;
}

.theme_register .form_rating_group {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 8px;
}

.theme_register .form_rating_group .rating_star {
    cursor: pointer;
    font-size: 28px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.theme_register .form_rating_group .rating_star input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.theme_register .form_rating_group .rating_star:hover {
    transform: scale(1.15);
}

.theme_register .form_rating_group .rating_star .icon {
    display: block;
    transition: color 0.2s ease;
}

.theme_register .form_rating_group .rating_star .icon.active svg {
    color: var(--yellow-color);
}
