/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Wrapper with background image */
.wrapper {
    background-image: url(https://cdn.mcauto-images-production.sendgrid.net/32724a092ad701f7/c6e2282d-8a53-44c8-9b7c-262b2479f731/1366x768.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Sign-in modal element */
.element {
    width: 450px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adobe Logo Styles */
.adobe-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.adobe-logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    border-radius: 8px;
    object-fit: contain;
}

.adobe-logo img:hover {
    transform: scale(1.05);
}

/* Sign In Header */
.signin-header {
    margin-bottom: 2rem;
}

.signin-icon {
    font-size: 3rem;
    color: #b30b00;
    margin-bottom: 1rem;
    display: block;
}

.signin-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.signin-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Sign In Form */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #b30b00;
    font-size: 0.8rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: #b30b00;
    background: white;
    box-shadow: 0 0 0 3px rgba(179, 11, 0, 0.1);
}

.form-group input::placeholder {
    color: #bdc3c7;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #b30b00;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #b30b00 0%, #8a0800 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(179, 11, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 11, 0, 0.6);
}

.btn-secondary {
    background: rgba(108, 117, 125, 0.8);
    color: white;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: rgba(108, 117, 125, 1);
    transform: translateY(-2px);
}

.signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 18px 30px;
}

/* Confirmation Page Styles */
.confirmation-element {
    width: 500px;
}

.confirmation-header {
    margin-bottom: 2rem;
}

.confirmation-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
    display: block;
}

.confirmation-form {
    text-align: left;
}

.confirmation-details {
    background: rgba(243, 156, 18, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

.detail-input {
    flex: 1;
    margin-left: 1rem;
}

.detail-input input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detail-input input:focus {
    outline: none;
    border-color: #f39c12;
    background: white;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
    transform: translateY(-1px);
}

.detail-input input::placeholder {
    color: #bdc3c7;
    font-style: italic;
}

.detail-input .password-input {
    position: relative;
}

.detail-input .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 3px;
    transition: color 0.3s ease;
}

.detail-input .password-toggle:hover {
    color: #f39c12;
}

.detail-value {
    color: #f39c12;
    font-weight: 500;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.confirmation-actions .btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 200px;
}

.confirmation-actions .btn-secondary {
    background: rgba(108, 117, 125, 0.8);
    color: white;
    border: 1px solid rgba(108, 117, 125, 0.3);
    font-size: 0.9rem;
    padding: 12px 20px;
}

.confirmation-actions .btn-secondary:hover {
    background: rgba(108, 117, 125, 1);
    transform: translateY(-2px);
}

/* Progress Modal Styles */
.progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.progress-modal.hidden {
    display: none;
}

.progress-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.progress-header {
    margin-bottom: 2rem;
}

.progress-icon {
    font-size: 3rem;
    color: #b30b00;
    margin-bottom: 1rem;
}

.progress-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.progress-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.progress-bar-container {
    margin-bottom: 2rem;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(179, 11, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #b30b00 0%, #8a0800 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #b30b00;
    font-weight: 600;
}

.progress-steps {
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(179, 11, 0, 1);
    transition: all 0.3s ease;
}

.step:last-child {
    border-bottom: none;
}

.step i {
    font-size: 1.2rem;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.step.active i {
    color: #b30b00;
}

.step.completed i {
    color: #b30b00;
}

.step span {
    color: #7f8c8d;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.step.active span {
    color: #2c3e50;
    font-weight: 600;
}

.step.completed span {
    color: #b30b00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .element {
        width: 90%;
        max-width: 450px;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .confirmation-element {
        width: 90%;
        max-width: 500px;
    }
    
    .signin-header h2 {
        font-size: 1.5rem;
    }
    
    .signin-icon {
        font-size: 2.5rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .progress-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-input {
        margin-left: 0;
        width: 100%;
    }
    
    .adobe-logo img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .element {
        padding: 1.5rem 1rem;
    }
    
    .confirmation-element {
        padding: 1.5rem 1rem;
    }
    
    .signin-header h2 {
        font-size: 1.3rem;
    }
    
    .signin-icon {
        font-size: 2rem;
    }
    
    .btn {
        padding: 15px 20px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .adobe-logo img {
        width: 45px;
        height: 45px;
    }
}

