:root {
    --primary-gradient: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
    --secondary-gradient: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    --success-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --primary-color: #003d82;
    --primary-dark: #002952;
    --secondary-color: #0066cc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --error-color: #dc2626;
    --info-color: #0284c7;
}

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

main.main-wrapper.ml-20.mt-20 {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.main-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Section Layout */
.signin-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Gradient Orbs */
.signin-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float-orb-1 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.signin-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(186, 230, 253, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float-orb-2 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float-orb-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(-100px, 100px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(50px, -50px) scale(0.9);
        opacity: 0.7;
    }
}

@keyframes float-orb-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(80px, -80px) scale(1.15);
        opacity: 0.7;
    }
    66% {
        transform: translate(-60px, 60px) scale(0.95);
        opacity: 0.6;
    }
}

.signin-section .container {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.auth-row {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    min-height: 700px;
    position: relative;
    z-index: 1;
}

/* Left Panel - Illustration */
.auth-cover-wrapper {
    background: linear-gradient(135deg, 
        rgba(224, 242, 254, 0.8) 0%, 
        rgba(186, 230, 253, 0.7) 25%,
        rgba(147, 197, 253, 0.6) 50%,
        rgba(59, 130, 246, 0.5) 75%,
        rgba(0, 102, 204, 0.4) 100%
    );
    height: 100%;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.auth-cover {
    position: relative;
    z-index: 2;
    width: 100%;
}

.auth-cover .title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #475569;
}

.auth-cover .title .para-width {
    max-width: 400px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    opacity: 1;
}

.cover-image {
    margin: 40px 0;
    animation: float-gentle 6s ease-in-out infinite;
}

.cover-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0066cc;
    font-size: 15px;
    font-weight: 500;
}

.features-list .feature-item i {
    font-size: 22px;
    color: #0066cc;
}

/* Right Panel - Form */
.signin-wrapper {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    min-height: 700px;
}

.form-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.signin-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    animation: slideUp 0.6s ease-out;
}

@media (max-width: 991px) {
    .auth-cover-wrapper {
        min-height: 350px;
        padding: 30px 20px;
    }
    
    .auth-cover .title h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .auth-cover .title .para-width {
        font-size: 14px;
        max-width: 300px;
    }
    
    .cover-image {
        margin: 20px 0;
    }
    
    .cover-image img {
        max-width: 250px;
    }
    
    .features-list {
        margin-top: 20px;
        gap: 12px;
    }
    
    .features-list .feature-item {
        font-size: 13px;
    }
    
    .features-list .feature-item i {
        font-size: 18px;
    }
    
    .signin-wrapper {
        padding: 50px 30px;
        min-height: auto;
    }
    
    .form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .signin-section {
        padding: 0;
        min-height: 100vh;
    }
    
    .signin-section .container {
        padding: 0;
        max-width: 100%;
    }
    
    .auth-row {
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    
    .auth-cover-wrapper {
        min-height: 45vh;
        padding: 30px 20px 20px;
        border-radius: 0 0 30px 30px;
    }
    
    .auth-cover .title h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .auth-cover .title .para-width {
        font-size: 14px;
        max-width: 280px;
    }
    
    .cover-image {
        margin: 20px 0 10px;
    }
    
    .cover-image img {
        max-width: 220px;
    }
    
    .features-list {
        display: none;
    }
    
    .signin-wrapper {
        padding: 30px 20px;
        min-height: 55vh;
    }
    
    .signin-header {
        margin-bottom: 24px;
    }
    
    .logo-container {
        margin-bottom: 16px;
    }
    
    .logo-image {
        max-width: 80px;
    }
    
    .signin-title {
        font-size: 24px;
    }
    
    .signin-subtitle {
        font-size: 14px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .modern-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .modern-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .access-request-section {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .access-request-text {
        font-size: 13px;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signin-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.logo-icon i {
    font-size: 36px;
    color: white;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.signin-title {
    font-size: 32px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.signin-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.modern-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.modern-alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
    color: var(--error-color);
}

.modern-alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #48bb78;
}

.modern-alert-info {
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.3);
    color: var(--info-color);
}

.alert-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.alert-link:hover {
    opacity: 0.8;
}

.signin-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label i {
    font-size: 16px;
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
}

.password-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.modern-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modern-input::placeholder {
    color: var(--text-light);
}

.password-wrapper .modern-input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.toggle-password i {
    font-size: 20px;
}

.caps-warning {
    font-size: 13px;
    color: var(--error-color);
    margin-top: 6px;
    display: none;
}

.caps-warning.active {
    display: block;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.forgot-password {
    text-align: right;
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.forgot-link i {
    font-size: 16px;
}

.modern-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.4);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
}

.modern-btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.modern-btn:hover .btn-icon {
    transform: translateX(4px);
}

.signin-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-text i {
    font-size: 16px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .signin-card {
        padding: 32px 24px;
    }

    .signin-title {
        font-size: 28px;
    }

    .logo-icon {
        width: 64px;
        height: 64px;
    }

    .logo-icon i {
        font-size: 32px;
    }

    .orb-1, .orb-2, .orb-3 {
        width: 300px;
        height: 300px;
    }
}

/* Password Requirements Styles */
.password-requirements {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.requirements-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.requirement-item i {
    font-size: 18px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.requirement-item.valid {
    color: var(--primary-color);
}

.requirement-item.valid i {
    color: #48bb78;
}

/* Landing Content */
.landing-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 20px;
    order: 2;
}

@media (max-width: 1024px) {
    .landing-content {
        order: 2;
        padding: 40px 20px;
        justify-content: center;
    }
}

.landing-hero {
    max-width: 550px;
    width: 100%;
}

.hero-image {
    margin-bottom: 40px;
    animation: float-gentle 6s ease-in-out infinite;
}

.undraw-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    max-width: 400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item i {
    font-size: 24px;
    color: #10b981;
}

.signin-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    order: 1;
}

@media (max-width: 1024px) {
    .signin-content {
        order: 1;
        justify-content: center;
    }
}

/* Access Request Section */
.access-request-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.access-request-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modern-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.modern-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Modal Styles */
.modern-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modern-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    z-index: 10;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-container.modal-success {
    max-width: 600px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
}

.modal-close:hover {
    background: var(--error-color);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon i {
    font-size: 40px;
    color: white;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.modal-help-text {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.modal-help-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.modal-help-text strong {
    color: #0066cc;
    font-weight: 600;
}

.modal-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-error-message {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--error-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.4s ease-out;
}

.form-error-message i {
    font-size: 20px;
    flex-shrink: 0;
}

/* Success Modal */
.success-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-logo {
    text-align: center;
    margin-bottom: 24px;
}

.success-logo img {
    width: 120px;
    height: auto;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
}

.success-illustration {
    margin: 32px 0;
}

.success-illustration img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Button Loader */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.modern-btn.loading .btn-text,
.modern-btn.loading .btn-icon {
    display: none;
}

.modern-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive Styles for Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .modal-content {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modal-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        margin-bottom: 16px;
    }

    .modal-icon i {
        font-size: 32px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .modal-description {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 8px;
    }

    .modal-form {
        gap: 16px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .modern-input {
        font-size: 15px;
        padding: 12px 16px;
    }

    .modern-btn-primary {
        padding: 14px 24px;
        font-size: 15px;
    }

    .form-error-message {
        padding: 12px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .modal-header {
        margin-bottom: 16px;
    }

    .modal-help-text {
        padding: 14px 16px;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .modal-help-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .success-illustration {
        margin: 24px 0;
    }

    .success-illustration img {
        max-width: 280px;
    }

    .success-message {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .success-title {
        font-size: 22px;
    }

    .success-logo img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 16px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-help-text {
        padding: 12px 14px;
        margin-bottom: 18px;
    }

    .modal-help-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .modal-description {
        font-size: 13px;
    }

    .modal-description strong {
        display: inline-block;
        margin: 0 2px;
    }

    .modern-input {
        font-size: 14px;
        padding: 11px 14px;
    }

    .modern-btn-primary {
        padding: 13px 20px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-orb,
    .logo-icon,
    .signin-card,
    .modern-alert,
    .modern-btn::before,
    .hero-image,
    .success-icon {
        animation: none;
    }
}
