/* Default font family */
body, html {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Apply Montserrat to all text elements */
h1, h2, h3, h4, h5, h6, p, span, div, label, input, textarea, button, .btn, .card, .form-control, .form-label {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#uppy-dashboard {
    width: 100% !important;
    max-width: none !important;
}

.uppy-Dashboard-inner {
    width: 100% !important;
    max-width: none !important;
}
.uppy-DashboardItem-name {
    white-space: normal !important;
    word-break: break-word;
    font-size: 14px;
}
.uppy-Dashboard-AddFiles-title {
    display: none !important;
}
.uppy-Dashboard-Item-previewInnerWrap {
    background: #ffffff !important;
}
body {
    background: url('../../gfx/backdrop.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.main-wrapper {
    width: 100%;
    max-width: 90%;
    position: relative;
    z-index: 1;
}


footer {
    margin-top: auto;
    padding: 20px 0;
    font-weight: 300;
}

.logo-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 300;
}
.logo-container h1 {
    font-weight: 300;
}
.logo-container img {
    max-width: 210px;
    width: 100%;
    height: auto;
    opacity: 1;
}

/* Card header styling */
.card-header {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    padding: 1rem 1.25rem !important;
}

/* Form input and label styling */
.form-control {
    font-size: 1.5rem !important;
    padding: 1.1rem 0.75rem 0 !important;
    min-height: calc(3.5rem + 16px) !important;
}

.form-floating > label {
    font-size: 1rem !important;
    padding: 1rem 0.75rem !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
}

/* Textarea specific styling */
textarea.form-control {
    min-height: 120px !important;
    resize: vertical;
}

/* Form text styling */
.form-text {
    font-size: 0.95rem !important;
}

/* Breadcrumb styling */
.progress-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    border-radius: 0.375rem 0.375rem 0 0;
    position: relative;
}

.breadcrumb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 0 0 auto;
    margin: 0 2rem;
}

.breadcrumb-step:first-child {
    margin-left: 0;
}

.breadcrumb-step:last-child {
    margin-right: 0;
}

/* Connecting lines between indicators only - stop after step 3 */
.breadcrumb-step:nth-child(1)::after, .breadcrumb-step:nth-child(2)::after {
    content: '';
    position: absolute;
    left: calc(50% + 23px);
    top: 16px;
    width: calc(4rem + 32px);
    height: 2px;
    z-index: 1;
}

.breadcrumb-step.completed:nth-child(1)::after,
.breadcrumb-step.completed:nth-child(2)::after {
    background: #12b86b;
}

.breadcrumb-step.active:nth-child(1)::after, .breadcrumb-step.active:nth-child(2)::after {
    background: linear-gradient(to right, #12b86b 0%, #f8f9fa 90%);
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dee2e6;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.breadcrumb-step.completed .step-indicator {
    background: #12b86b;
    color: white;
}

.breadcrumb-step.active .step-indicator {
    background: #0d6efd;
    color: white;
}

.step-text {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
    width: 80px;
}

.breadcrumb-step.completed .step-text {
    color: #12b86b;
}

.breadcrumb-step.active .step-text {
    color: #0d6efd;
    font-weight: 600;
}

/* Reset/New Upload Action Button */
.breadcrumb-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 0 0 auto;
    margin: 0 0 0 30px;
    cursor: pointer;
    /* Removed transition for no animation */
}


.action-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5722; /* Changed from #6c757d to blue */
    color: white;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    /* Removed transition for no animation */
}
.breadcrumb-action .action-indicator i {
    /* Removed transition for no animation */
}


/* Removed hover animations for new-upload and breadcrumb-action */

.action-text {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
    /* Removed transition for no animation */
    width: 80px;
}

/* Removed hover effect for action text */

/* New Upload state */
.breadcrumb-action.new-upload .action-indicator {
    background: #0d6efd;
}

/* Removed hover effect for new-upload action indicator */

.breadcrumb-action.new-upload .action-text {
    color: #0d6efd;
}

/* Removed hover effect for new-upload action text */
.uppy-StatusBar:not([aria-hidden=true]).is-waiting {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    height: 90px;
}
.uppy-size--md .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload {
    padding: 17px 22px;
    width: 100% !important;
    background: #12b86b;
    font-size: 23px;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .main-wrapper {
        max-width: 100%;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo-container img {
        max-width: 180px;
    }

    .progress-breadcrumb {
        padding: 1rem 0.75rem;
    }

    .breadcrumb-step {
        font-size: 0.8rem;
        margin: 0 1rem;
    }

    .breadcrumb-step:nth-child(1)::after,
    .breadcrumb-step:nth-child(2)::after {
        width: calc(2rem + 28px);
        left: calc(50% + 14px);
        top: 14px;
    }

    .step-indicator {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .step-text {
        font-size: 0.75rem;
    }

    .breadcrumb-action {
        margin: 0 0 0 1rem;
    }

    .action-indicator {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .action-text {
        font-size: 0.75rem;
    }
}

@media (max-height: 600px) {
    .content-wrapper {
        align-items: flex-start;
        padding-top: 20px;
    }

    .logo-container {
        margin-bottom: 15px;
    }
}
