/* THINK DESIGN Template - Accurate CSS */



/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
    font-size: 0.9em;
}

/* Header */
header {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.logo {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    height: 60px;
}

.logo span.light {
    font-weight: 300;
    margin-left: 0.2em;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

nav a:hover,
nav a.active {
    color: #E94560;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.mobile-only {
    display: none;
}

/* Main Content */
main {
    margin-top: 60px;
    position: relative;
    width: 100%;
    padding: 30px 0 60px 0;
    min-height: calc(100vh - 120px);
}

main > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 0.1em;
    text-align: center;
    letter-spacing: 0.5px;
    color: #1A1A2E;
    position: relative;
    z-index: 1;
}

h1 .bold {
    font-weight: 700;
}

.bold {
    font-weight: 700 !important;
}

.light {
    font-weight: 300 !important;
}

body .subtitle {
    color: #666;
    font-size: 1em;
    text-align: center;
    margin-bottom: 2em !important;
    position: relative;
}

.subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    margin: 10px auto 0;
    border-radius: 2px;
}

.content {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding-top: 0.25em !important;
    padding: 2px 45px 40px 45px !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 1.05em;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Mission Section */
.mission-section {
    margin-bottom: 3em;
    text-align: center;
    padding-top: 2em !important;
}

.content .mission-section h2.no-border {
    text-align: center !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

.mission-section h2::before {
    display: none !important;
}

.mission-section p {
    text-align: center;
}

.content h2 {
    color: #1A1A2E;
    margin-top: 1.2em !important;
    margin-bottom: 1.0em !important;
    font-size: 1.9em;
    font-weight: 300;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 25px;
}

.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.content h2.no-border::before {
    display: none;
}

.content h2:first-of-type {
    margin-top: 0.5em !important;
}

.content h3 {
    color: #333;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-size: 1.4em;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.content h4 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #333;
    font-size: 1.2em;
    font-weight: 500;
}

.content p {
    margin-bottom: 1.2em;
}

.content ul,
.content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
    padding-left: 0;
}

.content li {
    margin-bottom: 0.5em;
}

/* Tables */
.comparison-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 2em !important;
    margin-bottom: 2em;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e1e4e8;
    font-size: 0.9em;
}

th:first-child,
td:first-child {
    text-align: left;
}

th {
    background: #f6f8fa;
    font-weight: bold;
    color: #333;
}

.feature-name {
    text-align: left;
    font-weight: 500;
    background: #fafbfc;
}

/* Notes Grid */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin: 2em 0;
}

.note-item {
    background: white;
    padding: 1.8em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.note-item h4 {
    margin-bottom: 1em;
    color: #333;
    font-size: 1.1em;
}

.note-item p {
    margin-bottom: 1em;
    color: #666;
    line-height: 1.5;
}

.note-item ul {
    margin: 0;
    padding-left: 1.2em;
}

.note-item li {
    margin-bottom: 0.5em;
    color: #555;
    line-height: 1.4;
}

/* Footer */
footer {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #E94560;
}

.copyright {
    color: #666;
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1A1A2E;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    nav ul.show {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    main {
        padding: 20px 0 60px 0;
    }

    main > * {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .footer-container {
        padding: 0 15px !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links {
        gap: 1rem;
    }
}
/* Custom Form Styles */
form {
    margin-top: 2em;
    padding: 1.5em;
    background-color: #fdfdff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"] {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-group input:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.2);
}

button.submit-btn {
    display: block;
    width: 100%;
    padding: 0.9em;
    background: #1A1A2E;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

button.submit-btn:hover {
    opacity: 0.9;
}

.delete-btn {
    padding: 0.4em 0.8em;
    background-color: transparent;
    color: #1A1A2E;
    border: 1px solid #1A1A2E;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.delete-btn:hover {
    background-color: #1A1A2E;
    color: white;
}

/* Real-time Log Section */
.log-container {
    background-color: #1a1a2e;
    color: #f0f0f0;
    padding: 1.5em;
    border-radius: 8px;
    margin-top: 1em;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
}

#log-output {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#result-link-container a {
    display: inline-block;
    margin-top: 1em;
    padding: 0.8em 1.2em;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

#result-link-container a:hover {
    background-color: #218838;
}

/* Spinner Animation */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #fff;
    animation: spin 1s ease infinite;
    margin: 20px auto;
}

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

/* User Info in Header */
.user-info {
    display: flex;
    align-items: center;
    gap: 1em;
    color: #fff;
}

.user-info .username {
    font-size: 0.9em;
    opacity: 0.8;
}

.user-info .logout-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    padding: 0.4em 0.8em;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.user-info .logout-link:hover {
    background-color: #fff;
    color: #764ba2;
}