* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../assets/images/Ocean.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Fallback for when image doesn't load */
body.no-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hide scrollbars globally */
::-webkit-scrollbar {
    display: none;
}

html {
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    height: auto;
    overflow: hidden;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.login-card:hover {
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.2), 0 0 0 1px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.logo {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: -65px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    text-shadow: none;
    text-align: center;
    width: 100%;
    animation: shimmer 3s ease-in-out infinite;
    letter-spacing: -0.5px;
}

.logo p {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin-left: 65px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: #667eea;
}

.form-group input {
    padding: 14px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
}

.form-group input:hover {
    border-color: #cbd5e0;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    background: #fafbff;
}

.remember-me-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.remember-me-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me-container label {
    margin: 0;
    cursor: pointer;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 8px;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.login-btn::before {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.login-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
}

.login-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.divider {
    text-align: center;
    margin: 10px 0;
    position: relative;
}

.divider span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 255, 0.95) 100%);
    padding: 6px 16px;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.divider span:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.signup-btn {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 6px;
    margin-top: 0px;
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

/* Phone Login Button */
.phone-login-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

/* Terms and Privacy */
.terms-privacy {
    text-align: center;
    margin-top: 16px;
    font-size: 0.75rem;
    color: #718096;
}

.terms-privacy a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.terms-privacy a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.terms-privacy a:hover::after {
    width: 100%;
}

.terms-privacy a:hover {
    color: #764ba2;
}

.terms-privacy span {
    margin: 0 8px;
    color: #cbd5e0;
}

/* Phone Popup */
.phone-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.phone-popup {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.3s ease-out;
}

.phone-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid #e1e5e9;
}

.phone-popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #333;
    background: #f0f0f0;
}

.phone-popup-content {
    padding: 25px;
}

.phone-popup-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 0 25px 25px;
    border-top: 1px solid #e1e5e9;
}

.close-popup-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.signup-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    border-color: #764ba2;
}

.signup-btn:hover::before {
    left: 0;
}

.signup-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Microinteractions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.login-card {
    animation: fadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-group {
    animation: fadeInUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.login-btn { animation: fadeInUp 0.6s ease-out 0.3s backwards; }
.signup-btn { animation: fadeInUp 0.6s ease-out 0.4s backwards; }
.phone-login-btn { animation: fadeInUp 0.6s ease-out 0.5s backwards; }
.divider { animation: fadeInUp 0.6s ease-out 0.6s backwards; }
.social-login { animation: fadeInUp 0.6s ease-out 0.7s backwards; }

.form-group input:valid {
    border-color: #667eea;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #667eea;
}

/* Tab Navigation */
.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    background: #f7fafc;
    padding: 4px;
    border-radius: 10px;
}

.tab-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    color: #667eea;
}

/* Login Methods */
.login-method {
    display: none;
    min-height: 280px;
}

.login-method.active {
    display: block;
}

/* Phone Input Styles */
.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.country-code-selector {
    display: flex;
    align-items: center;
    border-right: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.country-code-select {
    padding: 16px 16px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    min-width: 90px;
    color: #4a5568;
}

.country-code-select:focus {
    outline: none;
}

.country-code-select:hover {
    color: #667eea;
}

.phone-number-input {
    flex: 1;
    display: flex;
    align-items: center;
}

.phone-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    letter-spacing: 0.5px;
}

.phone-input:focus {
    outline: none;
}

.phone-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.phone-hint {
    font-size: 0.75rem;
    color: #718096;
    margin-top: 4px;
    font-style: italic;
}

/* Enhanced Verification Code Input */
.code-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.code-inputs-wrapper {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 8px 0;
}

.code-input {
    width: 40px;
    height: 46px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.code-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.code-input.filled {
    border-color: #48bb78;
    background: #f0fff4;
}

.code-input.error {
    border-color: #f56565;
    background: #fff5f5;
    animation: shake 0.5s ease-in-out;
}

.send-code-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.send-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.send-code-btn:disabled {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    cursor: not-allowed;
    transform: none;
}

.send-code-btn.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.code-status {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 6px;
    min-height: 20px;
}

.code-status.success {
    color: #48bb78;
    font-weight: 600;
}

.code-status.error {
    color: #f56565;
    font-weight: 600;
}

.code-status.info {
    color: #667eea;
    font-weight: 500;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

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

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Social Login */
.social-login {
    margin: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Google Sign-In Button Container */
#googleSignInButton {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#googleSignInButton > div {
    width: 100% !important;
}

#googleSignInButton iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.google-btn, .facebook-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 32px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.google-btn::before, .facebook-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.google-btn:hover::before, .facebook-btn:hover::before {
    width: 300px;
    height: 300px;
}

.google-btn {
    background: white;
    color: #333;
    border-color: #667eea;
}

.google-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    background: #f8f9ff;
}

.facebook-btn {
    background: white;
    border-color: #667eea;
    color: #333;
}

.facebook-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    background: #f8f9ff;
}

/* Trouble Login */
.trouble-login {
    text-align: center;
    margin-top: 16px;
}

.trouble-login a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.trouble-login a::before {
    content: '🔒 ';
    opacity: 0.7;
}

.trouble-login a:hover {
    color: #764ba2;
    transform: translateY(-1px);
}

.trouble-login a:hover::before {
    opacity: 1;
}

/* App Download Section */
.app-download {
    margin-top: 24px;
    text-align: center;
}

.app-download .terms-privacy {
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #666;
}

.app-download .terms-privacy a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.app-download .terms-privacy a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.app-download .terms-privacy span {
    margin: 0 8px;
    color: #999;
}

.app-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.app-store-btn, .google-play-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    border: 2px solid #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
}

.app-store-btn:hover, .google-play-btn:hover {
    background: #34495e;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn-small {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
}

.app-btn-large {
    font-size: 1rem;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.trouble-options {
    display: grid;
    gap: 16px;
}

.trouble-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.trouble-option:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.trouble-option:hover h3,
.trouble-option:hover p {
    color: white;
}

.trouble-option h3 {
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.trouble-option p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Terms of Use Modal */
.terms-modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.terms-content {
    text-align: left;
    line-height: 1.6;
}

.terms-content .last-updated {
    font-style: italic;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.terms-content h3 {
    color: #667eea;
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.terms-content p {
    color: #555;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.terms-content ul {
    margin: 12px 0 20px 20px;
    color: #555;
}

.terms-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.terms-content strong {
    color: #333;
    font-weight: 600;
}

/* Email Verification Page */
.verification-status {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.success-message,
.error-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon,
.error-icon {
    margin: 0 auto 20px;
    display: block;
    animation: scaleIn 0.5s ease-out;
}

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

.success-message h2 {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.error-message h2 {
    color: #f44336;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.success-message p,
.error-message p {
    color: #666;
    margin: 10px 0;
    font-size: 1rem;
}

.retry-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s;
}

.retry-btn:hover {
    transform: translateY(-2px);
}

/* Prompts Styling */
.prompt-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.prompt-question {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.prompt-answer {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
}

.prompts-list {
    margin-top: 15px;
}