/* styles.css - Custom styles for Airport WiFi Survey */

body {
    background: url('../images/wwf-dark.svg') no-repeat center center fixed;
    background-size: cover;
    background-color: #f8f9fa;
    padding-top: 20px;
    padding-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.survey-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    width: calc(100% - 2rem);
    box-sizing: border-box;
}

.progress {
    height: 8px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background-color: #072C62;
    transition: width 0.3s ease;
}

.survey-header {
    text-align: center;
    margin-bottom: 30px;
}

.survey-header h1 {
    color: #072C62;
    margin-bottom: 10px;
    font-size: 2rem;
}

.survey-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.form-check {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.form-check-input {
    border: 2px solid #000000;
    background-color: #ffffff;
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.2em;
    margin-right: 0.6em;
    box-shadow: none;
    cursor: pointer;
}

.form-check-input:hover {
    border-color: #000000;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

.form-check-label {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: #072C62;
    border-color: #072C62;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #072C62;
    border-color: #072C62;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 10px 20px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 10px 20px;
}

.question-container {
    margin-bottom: 30px;
    animation: fadeIn 0.3s ease;
}

.question-label {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #212529;
}

.logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.airport-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.validation-error {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.form-control {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

.text-center img {
    animation: pulse 2s infinite;
}

.question-hidden {
    display: none !important;
}

.btn-hidden {
    display: none !important;
}

.thank-you-message {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.thank-you-message h2 {
    color: #28a745;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Footer styles */
.phl-footer {
    font-family: sans-serif;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 2rem;
}

.phl-footer .footer-top {
    padding: 8px 0;
    line-height: 1.2;
}

.phl-footer .footer-bottom {
    padding: 8px 0;
    line-height: 1.2;
}

.phl-footer .footer-bottom a {
    font-weight: 500;
    text-decoration: underline;
}

.phl-footer .footer-bottom a:hover {
    text-decoration: none;
}

/* Tablet and mobile responsive styles */
@media (max-width: 991px) {
    .survey-container {
        padding: 1.5rem;
        margin: 0 auto;
        width: calc(100% - 2rem);
        max-width: 750px;
    }

    .survey-header h1 {
        font-size: 1.75rem;
    }

    .survey-header p {
        font-size: 1rem;
    }

    .question-label {
        font-size: 1.1rem;
    }

    .form-check {
        margin-bottom: 0.9rem;
        padding-left: 1.8rem;
    }

    .form-check-input {
        width: 1.2em;
        height: 1.2em;
        margin-right: 0.55em;
    }

    .form-check-label {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .survey-container {
        padding: 1.25rem;
        margin: 0 auto;
        width: calc(100% - 1.5rem);
        max-width: 600px;
    }

    .survey-header h1 {
        font-size: 1.5rem;
    }

    .survey-header p {
        font-size: 0.9rem;
    }

    .question-label {
        font-size: 1rem;
    }

    .form-check {
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
    }

    .form-check-input {
        width: 1.1em;
        height: 1.1em;
        margin-right: 0.5em;
    }

    .form-check-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 18px;
        margin-top: 0.75rem;
    }

    .btn-primary, .btn-secondary {
        min-width: 80px;
    }

    .phl-footer {
        font-size: 0.65rem;
        margin-top: 1rem;
    }

    .phl-footer .footer-top,
    .phl-footer .footer-bottom {
        padding: 0.25rem 0.5rem;
        line-height: 1.2;
    }

    .phl-footer .footer-bottom a {
        font-size: 0.65rem;
    }
}

@media (min-width: 1200px) {
    .survey-container {
        max-width: 900px;
    }
}

@media (max-width: 480px) {
    .survey-container {
        padding: 1rem;
        margin: 0 auto;
        width: calc(100% - 1rem);
        max-width: 480px;
    }

    .survey-header h1 {
        font-size: 1.3rem;
    }

    .survey-header p {
        font-size: 0.85rem;
    }

    .question-label {
        font-size: 0.95rem;
    }

    .form-check {
        margin-bottom: 0.7rem;
        padding-left: 1.25rem;
    }

    .form-check-input {
        width: 1em;
        height: 1em;
        margin-right: 0.45em;
    }

    .form-check-label {
        font-size: 0.85rem;
        line-height: 1.25;
    }

    .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-top: 0.75rem;
    }

    .btn-primary, .btn-secondary {
        min-width: 70px;
    }

    .phl-footer {
        font-size: 0.6rem;
        margin-top: 0.75rem;
    }

    .phl-footer .footer-top,
    .phl-footer .footer-bottom {
        padding: 0.2rem 0.25rem;
        line-height: 1.1;
    }

    .phl-footer .footer-bottom a {
        font-size: 0.6rem;
    }
}