/* Base Template Styles - Minimalistic MVP Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f8f9fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #1f2937;
    line-height: 1.6;
}

.header {
    background: #e8eaf6;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #c5cae9;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #303f9f;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #3949ab;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #1a237e;
}

.content {
    flex: 1;
    padding: 2.5rem 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.footer {
    background: #e3f2fd;
    color: #37474f;
    padding: 2rem 2rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid #bbdefb;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-description {
    font-size: 0.9rem;
    color: #455a64;
    max-width: 500px;
    line-height: 1.5;
}

.footer-description strong {
    color: #1a237e;
    font-weight: 600;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-contact strong {
    color: #1a237e;
    font-weight: 600;
}

.footer-contact a {
    color: #3b82f6;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Messages styling */
.messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.message {
    background: #ffffff;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message.success {
    border-left-color: #10b981;
}

.message.error {
    border-left-color: #ef4444;
}

.message.warning {
    border-left-color: #f59e0b;
}

.message.info {
    border-left-color: #3b82f6;
}

.message-inner-frame {
    flex: 1;
    font-size: 0.95rem;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    line-height: 1;
}

.close-btn:hover {
    color: #4b5563;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .content {
        padding: 1.5rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .messages {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
