/* Confirm Mail Page Styles - Professional Modern Soft Design with Color Variables */

/* Confirm Mail Container */
.confirm-mail--container {
    min-height: 50vh;
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(248, 249, 250, 0.8) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(248, 249, 250, 0.8) 100%
    );
}

.confirm-mail--container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.confirm-mail--wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Confirm Mail Card */
.confirm-mail--card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    max-width: 550px;
    width: 100%;
    margin: 0 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: relative;
}

/* Confirm Mail Header */
.confirm-mail--header {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 249, 250, 0.95) 100%
    );
    padding: 28px 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.confirm-mail--header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.02) 0%,
        transparent 30%,
        transparent 70%,
        rgba(212, 175, 55, 0.03) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.confirm-mail--header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 50%,
        transparent 100%
    );
}

.confirm-mail--header-content {
    position: relative;
    z-index: 2;
}

.confirm-mail--title {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.confirm-mail--subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.005em;
    opacity: 0.8;
}

/* Confirm Mail Body */
.confirm-mail--body {
    padding: 44px 40px 48px;
    background: rgba(255, 255, 255, 0.98);
    position: relative;
}

/* Message Styles */
.confirm-mail--message {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    border: 1px solid;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.02),
        0 1px 4px rgba(0, 0, 0, 0.03);
}

.confirm-mail--message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.confirm-mail--message-success {
    background: rgba(40, 167, 69, 0.05);
    color: var(--success-green);
    border-color: rgba(40, 167, 69, 0.2);
}

.confirm-mail--message-info {
    background: rgba(23, 162, 184, 0.05);
    color: var(--info-blue);
    border-color: rgba(23, 162, 184, 0.2);
}

.confirm-mail--message-error {
    background: rgba(220, 53, 69, 0.05);
    color: var(--error-red);
    border-color: rgba(220, 53, 69, 0.2);
}

.confirm-mail--message p {
    margin: 0;
    font-weight: 500;
}

/* Success Info */
.confirm-mail--success-info {
    background: rgba(40, 167, 69, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.02),
        0 1px 4px rgba(0, 0, 0, 0.03);
}

.confirm-mail--success-info h3 {
    color: var(--text-primary);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.confirm-mail--success-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirm-mail--success-info li {
    padding: 10px 0;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.confirm-mail--success-info li i {
    color: var(--success-green);
    width: 16px;
    text-align: center;
}

/* Action Buttons */
.confirm-mail--actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.confirm-mail--btn {
    flex: 1;
    min-width: 200px;
    padding: 16px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.005em;
}

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

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

.confirm-mail--btn-primary {
    background: var(--primary-black);
    border: none;
    color: var(--pure-white);
    box-shadow:
        0 8px 24px var(--black-alpha-25),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.confirm-mail--btn-primary:hover {
    background: var(--primary-black);
    transform: translateY(-1px) scale(1.005);
    box-shadow:
        0 8px 24px var(--black-alpha-25),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.confirm-mail--btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1px solid rgba(233, 236, 239, 0.8);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 2px 6px rgba(0, 0, 0, 0.02);
}

.confirm-mail--btn-secondary:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-1px) scale(1.005);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.04),
        0 4px 10px rgba(0, 0, 0, 0.03);
    color: var(--accent-gold);
}

.confirm-mail--btn:active {
    transform: translateY(0) scale(0.998);
    transition: all 0.1s ease;
}

.confirm-mail--btn i {
    font-size: 1.1rem;
}

/* Help Section */
.confirm-mail--help {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(233, 236, 239, 0.8);
    margin-top: 32px;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
}

.confirm-mail--help h4 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.confirm-mail--help p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    opacity: 0.9;
}

.confirm-mail--help a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    opacity: 0.9;
}

.confirm-mail--help a:hover {
    color: var(--btn-secondary-hover);
    text-decoration: none;
    opacity: 1;
    transform: translateY(-1px);
}

/* Animations */
@keyframes confirmMailFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirm-mail--card {
    animation: confirmMailFadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .confirm-mail--container {
        padding: 40px 0;
    }
    
    .confirm-mail--wrapper {
        min-height: calc(100vh - 80px);
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .confirm-mail--card {
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .confirm-mail--header {
        padding: 35px 25px;
    }
    
    .confirm-mail--title {
        font-size: 1.8rem;
        letter-spacing: 0.8px;
    }
    
    .confirm-mail--subtitle {
        font-size: 0.9rem;
    }
    
    .confirm-mail--body {
        padding: 35px 25px;
    }
    
    .confirm-mail--message {
        padding: 18px;
        font-size: 0.95rem;
    }
    
    .confirm-mail--success-info {
        padding: 20px;
    }
    
    .confirm-mail--actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .confirm-mail--btn {
        min-width: auto;
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .confirm-mail--help {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .confirm-mail--container {
        padding: 30px 0;
    }
    
    .confirm-mail--wrapper {
        min-height: calc(60vh - 60px);
        padding-top: 10px;
    }
    
    .confirm-mail--card {
        margin: 0 10px;
        border-radius: 18px;
    }
    
    .confirm-mail--header {
        padding: 30px 20px;
    }
    
    .confirm-mail--title {
        font-size: 1.6rem;
        letter-spacing: 0.6px;
        margin-bottom: 6px;
    }
    
    .confirm-mail--subtitle {
        font-size: 0.85rem;
    }
    
    .confirm-mail--body {
        padding: 30px 20px;
    }
    
    .confirm-mail--message {
        padding: 15px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .confirm-mail--success-info {
        padding: 18px;
        border-radius: 12px;
    }
    
    .confirm-mail--success-info h3 {
        font-size: 1.1rem;
    }
    
    .confirm-mail--success-info li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .confirm-mail--btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .confirm-mail--help {
        padding: 18px;
        border-radius: 12px;
    }
    
    .confirm-mail--help h4 {
        font-size: 1rem;
    }
    
    .confirm-mail--help p {
        font-size: 0.85rem;
    }
}

/* Focus styles for accessibility */
.confirm-mail--btn:focus,
.confirm-mail--help a:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .confirm-mail--card {
        border: 3px solid var(--primary-black);
    }
    
    .confirm-mail--message {
        border-width: 2px;
    }
    
    .confirm-mail--btn {
        border: 3px solid var(--primary-black);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .confirm-mail--card,
    .confirm-mail--btn {
        animation: none;
        transition: none;
    }
    
    .confirm-mail--card:hover,
    .confirm-mail--btn:hover {
        transform: none;
    }
}