/* Base styles - Mobile First (Small phones) */
.page-container {
    min-height: calc(100vh - 4rem);
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem auto;
    border: 1px solid rgba(229, 233, 239, 0.7);
    box-sizing: border-box;
}

.page-title {
    color: #0E38AB;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.875rem;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    padding: 0.625rem;
    font-size: 0.875rem;
}

.file-input-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.file-input-wrapper:hover {
    background-color: #F5F7FF;
}

.education-tags-container {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.education-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.form-actions button {
    width: auto;
    min-width: 160px;
    max-width: 200px;
    padding: 0.875rem 1.5rem;
    background-color: #0E38AB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(14, 56, 171, 0.1);
}

/* Small phones and up (320px and up) */
@media (min-width: 320px) {
    .page-container {
        padding: 0.75rem;
    }

    .form-container {
        padding: 1.25rem;
        margin: 0.75rem auto;
    }

    .form-actions button {
        min-width: 140px;
        padding: 0.75rem 1.25rem;
    }
}

/* Medium phones and up (375px and up) */
@media (min-width: 375px) {
    .page-container {
        padding: 1rem;
    }

    .form-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .page-title {
        font-size: 1.375rem;
    }

    .form-actions button {
        min-width: 160px;
        padding: 0.875rem 1.5rem;
    }
}

/* Large phones and up (425px and up) */
@media (min-width: 425px) {
    .form-container {
        max-width: 95%;
    }

    .form-group input[type="text"],
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Small tablets and up (600px and up) */
@media (min-width: 600px) {
    .page-container {
        padding: 1.5rem;
    }

    .form-container {
        max-width: 90%;
        padding: 2rem;
        margin: 1.5rem auto;
        border-radius: 16px;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .file-input-wrapper {
        min-height: 120px;
    }
}

/* Tablets and up (768px and up) */
@media (min-width: 768px) {
    .form-container {
        max-width: 720px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
    }

    .education-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    .form-actions button {
        min-width: 180px;
    }
}

/* Small laptops and up (1024px and up) */
@media (min-width: 1024px) {
    .page-container {
        padding: 2rem;
    }

    .form-container {
        max-width: 800px;
        padding: 2.5rem;
    }

    .form-actions button {
        min-width: 200px;
        padding: 1rem 2rem;
    }
}

/* Large laptops and up (1440px and up) */
@media (min-width: 1440px) {
    .form-container {
        max-width: 900px;
    }
}

/* 4K and up (2560px and up) */
@media (min-width: 2560px) {
    .form-container {
        max-width: 1200px;
    }

    .page-title {
        font-size: 2rem;
    }

    .form-group label {
        font-size: 1.125rem;
    }

    .form-group input[type="text"],
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1.125rem;
    }
}

/* Base styles - Mobile First */
.page-container {
    min-height: calc(100vh - 4rem);
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    width: 100%;
    max-width: 720px;
    margin: 2rem auto;
    border: 1px solid rgba(229, 233, 239, 0.7);
}

.page-title {
    color: #0E38AB;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.form-group label {
    display: block;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group select,
.form-group textarea,
.education-selection-container,
.file-input-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    background-color: white;
    font-size: 0.95rem;
    color: #1F2937;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

.form-group select {
    appearance: none;
    background-color: white;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    color: #1F2937;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group select[multiple] {
    min-height: 160px;
    padding: 0.5rem;
    overflow-y: auto;
    background-image: none;
    border: 1.5px solid #E5E7EB;
}

.form-group select[multiple] option {
    margin: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background-color: white;
    color: #374151;
    transition: all 0.15s ease;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}

.form-group select[multiple] option:hover {
    background-color: #F8FAFC;
}

.form-group select[multiple] option:checked {
    background-color: #EEF2FF !important;
    color: #0E38AB;
    font-weight: 500;
    padding-left: 2.5rem;
}

.form-group select[multiple]::-webkit-scrollbar {
    width: 8px;
}

.form-group select[multiple]::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.form-group select[multiple]::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    border: 2px solid #F1F5F9;
}

.form-group select[multiple]::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.form-group select:focus {
    outline: none;
    border-color: #0E38AB;
    box-shadow: 0 0 0 3px rgba(14, 56, 171, 0.1);
}

.form-group select:not([multiple]) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

.form-group .select-helper {
    display: block;
    color: #6B7280;
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

.file-input-container {
    width: 100%;
    position: relative;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-input-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 1rem;
    text-align: center;
    z-index: 1;
}

.file-input-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.upload-icon {
    width: 2rem;
    height: 2rem;
    color: #6B7280;
    transition: color 0.2s ease;
}

.file-input-wrapper:hover .upload-icon {
    color: #0E38AB;
}

.file-input-prompt {
    color: #374151;
    font-size: 0.95rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    padding: 0 1rem;
}

.file-input-formats {
    display: block;
    color: #6B7280;
    font-size: 0.875rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    padding: 0 1rem;
}

/* Drag and drop states */
.file-input-wrapper.dragover {
    border-color: #0E38AB;
    background-color: #EEF2FF;
}

.file-input-container.has-file .file-input-wrapper {
    border-color: #0E38AB;
    background-color: #F5F7FF;
}

.file-input-container.has-file .upload-icon {
    color: #0E38AB;
}

/* Error state */
.file-input-container.has-error .file-input-wrapper {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

.file-input-container.has-error .upload-icon {
    color: #DC2626;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert li:last-child {
    margin-bottom: 0;
}

.delete-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.delete-button:hover {
    background-color: #fee2e2;
    transform: scale(1.1);
}

.delete-button:active {
    transform: scale(0.95);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0);
}

.modal.show {
    display: flex;
}

.modal.visible {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal.visible .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warning-icon {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
}

.warning-text {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-button, .confirm-delete-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cancel-button {
    background-color: #e5e7eb;
    color: #374151;
}

.cancel-button:hover {
    background-color: #d1d5db;
}

.confirm-delete-button {
    background-color: #dc2626;
    color: white;
}

.confirm-delete-button:hover {
    background-color: #b91c1c;
}

@media (max-width: 640px) {
    .modal-content {
        width: 85%;
        max-width: 320px;
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-header .warning-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .modal p {
        font-size: 0.9rem;
    }

    .modal-actions {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .cancel-button, .confirm-delete-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.bin-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgb(255, 95, 95);
    cursor: pointer;
    border: 2px solid rgb(255, 201, 201);
    transition-duration: 0.3s;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.bin-bottom {
    width: 15px;
    z-index: 2;
}

.bin-top {
    width: 17px;
    transform-origin: right;
    transition-duration: 0.3s;
    z-index: 2;
}

.bin-button:hover .bin-top {
    transform: rotate(45deg);
}

.bin-button:hover {
    background-color: rgb(255, 0, 0);
}

.bin-button:active {
    transform: scale(0.9);
}

.garbage {
    position: absolute;
    width: 14px;
    height: auto;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
}

.bin-button:hover .garbage {
    animation: throw 0.4s linear;
}

@keyframes throw {
    from {
        transform: translate(-400%, -700%);
        opacity: 0;
    }
    to {
        transform: translate(0%, 0%);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .bin-button {
        width: 45px;
        height: 45px;
    }
    
    .bin-bottom {
        width: 12px;
    }
    
    .bin-top {
        width: 14px;
    }
    
    .garbage {
        width: 11px;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        margin: 1rem auto;
        border-radius: 12px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group select[multiple] {
        min-height: 140px;
    }

    .form-group select[multiple] option {
        padding: 0.625rem 0.875rem;
    }
}

/* Disabled state */
.form-group select:disabled {
    background-color: #F3F4F6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Error state */
.form-group.has-error select {
    border-color: #DC2626;
}

.form-group.has-error .select-helper {
    color: #DC2626;
}

/* Opdateret select styling */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select select {
    appearance: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: white;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    color: #1F2937;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 1.25rem;
    height: 1.25rem;
    color: #6B7280;
}

/* Selected educations container */
.selected-educations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    min-height: 2rem;
}

/* Education tags */
.education-tag {
    display: inline-flex;
    align-items: center;
    background-color: #EEF2FF;
    color: #0E38AB;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.5rem;
    border: 1px solid #E0E7FF;
    transition: all 0.2s ease;
}

.education-tag:hover {
    background-color: #E0E7FF;
}

/* Remove tag button */
.remove-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: none;
    background: none;
    color: #4F46E5;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.remove-tag:hover {
    background-color: #C7D2FE;
    color: #3730A3;
}

.remove-tag svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Dropdown styling */
.custom-select select[multiple] {
    padding: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select select[multiple] option {
    padding: 0.625rem 1rem;
    margin: 0.25rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.custom-select select[multiple] option:checked {
    background-color: #EEF2FF !important;
    color: #0E38AB;
    font-weight: 500;
}

.custom-select select[multiple] option:hover {
    background-color: #F8FAFC;
}

/* Scrollbar styling */
.custom-select select::-webkit-scrollbar {
    width: 8px;
}

.custom-select select::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.custom-select select::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    border: 2px solid #F1F5F9;
}

.custom-select select::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Focus states */
.custom-select select:focus {
    outline: none;
    border-color: #0E38AB;
    box-shadow: 0 0 0 3px rgba(14, 56, 171, 0.1);
}

/* Education selection styling */
.education-selection-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tags-placeholder {
    color: #94A3B8;
    font-size: 0.875rem;
}

/* Dropdown styling */
.education-dropdown-container {
    position: relative;
}

.dropdown-trigger {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: white;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #1F2937;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-trigger svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #6B7280;
    transition: transform 0.2s ease;
}

.dropdown-trigger.active {
    border-color: #0E38AB;
}

.dropdown-trigger.active svg {
    transform: rotate(180deg);
}

.education-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: white;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: none;
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
}

.education-dropdown.active {
    display: block;
}

.dropdown-options {
    padding: 0.5rem;
}

.dropdown-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    color: #1F2937;
    transition: all 0.15s ease;
}

.dropdown-option:hover {
    background-color: #F8FAFC;
}

.dropdown-option.selected {
    background-color: #EEF2FF;
    color: #0E38AB;
    font-weight: 500;
}

/* Education tags */
.education-tag {
    display: inline-flex;
    align-items: center;
    background-color: #EEF2FF;
    color: #0E38AB;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.5rem;
    border: 1px solid #E0E7FF;
}

.remove-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: none;
    background: none;
    color: #4F46E5;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.remove-tag:hover {
    background-color: #C7D2FE;
    color: #3730A3;
}

.remove-tag svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Scrollbar styling */
.education-dropdown::-webkit-scrollbar {
    width: 8px;
}

.education-dropdown::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.education-dropdown::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    border: 2px solid #F1F5F9;
}

.education-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Tilføj dette til dine eksisterende styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header .page-title {
    margin-bottom: 0;
}

/* Conversion Modal Styles */
.conversion-modal {
    max-width: 500px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.conversion-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-title h2 {
    font-size: 1.5rem;
    color: #111827;
    font-weight: 600;
    margin: 0;
}

.info-icon {
    width: 2rem;
    height: 2rem;
    color: #0E38AB;
    margin-right: 0.5rem;
}

.progress-container {
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-indicator {
    height: 100%;
    width: 30%;
    background: #0E38AB;
    border-radius: 3px;
    animation: progress 2s infinite;
    transform-origin: left;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.modal-body {
    padding: 1.5rem;
}

.conversion-info {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.file-type {
    margin-bottom: 1rem;
}

.file-type .label {
    color: #6b7280;
    font-size: 0.875rem;
}

.file-type .value {
    font-weight: 600;
    color: #111827;
    margin-left: 0.5rem;
}

.conversion-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-icon .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #0E38AB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.status-text .primary-text {
    color: #111827;
    font-weight: 500;
    margin: 0;
}

.status-text .secondary-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.warning-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff4ed;
    border-radius: 8px;
    color: #9a3412;
}

.warning-container .warning-icon {
    width: 20px;
    height: 20px;
    color: #ea580c;
}

.warning-container p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
}

.page-header .page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0E38AB;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
}

.page-header::before {
    content: "";
    width: 55px;
    height: 55px;
    visibility: hidden;
}

/* Responsive Styles */
@media (max-width: 640px) {
    .bin-button {
        width: 45px;
        height: 45px;
    }
    
    .bin-bottom {
        width: 12px;
    }
    
    .bin-top {
        width: 14px;
    }
    
    .garbage {
        width: 11px;
    }

    .modal-content {
        width: 85%;
        max-width: 320px;
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-header .warning-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .modal p {
        font-size: 0.9rem;
    }

    .modal-actions {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .cancel-button, .confirm-delete-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Delete Modal Styles */
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal.visible .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.warning-icon {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
}

.warning-text {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-button, .confirm-delete-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cancel-button {
    background-color: #e5e7eb;
    color: #374151;
}

.cancel-button:hover {
    background-color: #d1d5db;
}

.confirm-delete-button {
    background-color: #dc2626;
    color: white;
}

.confirm-delete-button:hover {
    background-color: #b91c1c;
}

/* Delete Button Container */
.delete-button-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* File name display styles */
.file-name-display {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

/* Add this to handle long text in form inputs */
.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.form-group input[type="text"] {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
}

/* Ensure file input text doesn't overflow */
.file-input-prompt {
    color: #374151;
    font-size: 0.95rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    padding: 0 1rem;
}

.file-input-formats {
    display: block;
    color: #6B7280;
    font-size: 0.875rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    padding: 0 1rem;
}

/* Ensure modal content handles long text properly */
.modal-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}


.background-text {
    font-size: 0.775rem;
    color: #374151;
    margin-top: -0.5rem;
    margin-bottom: 0.7rem;
}
