/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    padding: 0;
}

.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    background-color: #34495e;
    color: white;
    padding: 30px 0;
    border-radius: 0;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.logo p {
    color: #ecf0f1;
    font-size: 14px;
}

.nav button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav button:hover {
    background-color: #3367d6;
}

.header-links {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.header-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.header-links a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main content styles */
main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.email-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.email-box h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.email-address {
    font-size: 24px;
    font-weight: 700;
    color: #4285f4;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 10px 0;
    word-break: break-all;
}

.email-info {
    color: #666;
    font-size: 14px;
}

/* Inbox styles */
.inbox {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.inbox h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.inbox-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4285f4;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.message-list {
    display: none;
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.message-item:hover {
    background-color: #f8f9fa;
}

.message-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.message-item p {
    color: #666;
    font-size: 14px;
}

.message-item .message-time {
    color: #999;
    font-size: 12px;
}

.empty-inbox {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.empty-inbox-info {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}

/* Message viewer styles */
.message-viewer {
    display: none;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.message-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.message-header button {
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    color: #3c4043;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 15px;
}

.message-header button:hover {
    background-color: #f1f3f4;
}

.message-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.message-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.message-content {
    padding: 15px 0;
    line-height: 1.6;
}

/* Info Section Styles */
.info-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.info-section h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    color: #4285f4;
    margin: 25px 0 15px;
    font-size: 20px;
}

.info-content h4 {
    color: #333;
    margin: 15px 0 10px;
    font-size: 18px;
}

.info-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.benefit-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4285f4;
}

.use-cases, .limitations, .alternatives, .best-practices {
    padding-left: 20px;
    margin: 15px 0;
}

.use-cases li, .limitations li, .alternatives li {
    margin-bottom: 10px;
    position: relative;
}

.best-practices li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.use-cases li strong, .alternatives li strong {
    color: #4285f4;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 20px;
    }
}

/* Footer styles */
footer {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    background-color: #34495e;
    color: white;
    padding: 35px 0 15px;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.feature {
    flex: 1;
    padding: 0 15px;
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    color: #ecf0f1;
    font-size: 14px;
}

.disclaimer {
    text-align: center;
    color: #ecf0f1;
    font-size: 12px;
    padding: 20px 0;
    border-top: 1px solid #4a6583;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
    padding: 15px 0;
    border-top: 1px solid #4a6583;
    border-bottom: 1px solid #4a6583;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 15px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-links .social-icon {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links .social-icon:hover {
    color: #ffffff;
    background-color: #3498db;
    transform: translateY(-3px);
}

/* Verification overlay */
.verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.verification-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.verification-box h2 {
    color: #333;
    margin-bottom: 15px;
}

.progress-bar {
    height: 6px;
    background-color: #f1f3f4;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #4285f4;
    width: 0;
    transition: width 0.3s;
}

.verification-info {
    color: #666;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav button {
        margin: 0;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .header-links {
        margin-top: 15px;
        padding-top: 10px;
    }
    
    .header-links a {
        margin: 0 8px;
        font-size: 14px;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature {
        padding: 0;
    }
    
    .email-address {
        font-size: 18px;
    }
    
    .social-links .social-icon {
        margin: 5px;
        font-size: 13px;
    }
}