/* Fitga Core Styles */

/* Main content area styling for readability */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

/* Content container for better visual separation */
.fitga-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Typography improvements */
h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 0.5em;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

h2 {
    color: #34495e;
    font-size: 1.8em;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-left: 15px;
}

p {
    margin-bottom: 1.2em;
    text-align: justify;
}

/* List styling */
ul {
    margin: 1em 0;
    padding-left: 2em;
}

li {
    margin-bottom: 0.5em;
}

/* Input field styling to make them look natural */
.fitga-gap {
    padding: 2px 4px;
    border: none;
    border-bottom: 1px solid #bdc3c7;
    border-radius: 0;
    font-size: inherit;
    font-family: inherit;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
    /* min-width: 80px; */
    display: inline-block;
    margin: 0 2px;
    height: 1.2em;
    line-height: 1.2em;
}

.fitga-gap:focus {
    outline: none;
    border-bottom-color: #3498db;
    background-color: #f0f0f0;
}

.fitga-gap:hover {
    border-bottom-color: #95a5a6;
    background-color: #f0f0f0;
}

/* Feedback styles for correct and incorrect answers */
.fitga-gap.fitga-correct {
    border-bottom: 2px solid #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #c8e6c9 100%);
    color: #1e8449;
    animation: pop 0.3s ease;
}

.fitga-gap.fitga-incorrect {
    border-bottom: 2px solid #e74c3c;
    background: linear-gradient(135deg, #fadbd8 0%, #f1948a 100%);
    color: #c0392b;
    animation: shake 0.4s ease;
}

/* Enhanced animations */
@keyframes pop {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.08) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

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


/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 15px 10px;
    }

    .fitga-content {
        padding: 25px 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .fitga-badge {
        margin: 30px 10px;
        padding: 25px 15px;
    }

    .fitga-copy-btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
}
