﻿/* Base Mobile Styles */
body {
    font-family: 'Futura', sans-serif;
    min-height: 100vh;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin: 0;
    position: relative;
    padding-bottom: 80px;
}

/* Text Container - Hidden on Mobile */
.Text-container {
    display: none;
}

/* Form Container */
.form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    text-align: center;
}

    .form-container img {
        width: 120px;
        height: auto;
        margin: 0 auto 25px;
        display: block;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    .form-container h2 {
        font-size: 1.5rem;
        color: #2c3e50;
        margin-bottom: 25px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #007BFF;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        background: white;
    }

/* Form Footer */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
    font-size: 0.9rem;
}

    .form-footer div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* Submit Button */
.btn-modern {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

    .btn-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

/* Complaint Button - Mobile */
.complaint-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #77bb44, #5e9e37);
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

    .complaint-btn:hover {
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

/* Desktop Styles */
@media (min-width: 768px) {
    body {
        background: url('/Layout/photo/loglayout.jpg') no-repeat center center fixed;
        background-size: cover;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        flex-direction: row;
        padding-bottom: 0;
    }

    /* Left-side Text Container */
    .Text-container {
        display: block;
        position: absolute;
        left: 7%;
        top: 60%;
        width: 37%;
        color: white;
        text-align: left;
        transform: translateY(-50%);
    }

        .Text-container h2 {
            text-align:center;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 8px;
            color: white;
            text-transform: uppercase;
        }

        .Text-container p {
            margin-top: 15px;
            font-size: 14px;
            line-height: 1.8;
            font-weight: normal;
            margin-bottom: 30px;
            text-align: justify;
            color: rgba(255, 255, 255, 0.85);
        }

    /* Form Container */
    .form-container {
        width: 350px;
        margin-left: auto;
        margin-right: 12%;
        padding: 30px;
    }

        .form-container img {
            width: 80px;
        }

    .form-control {
        border: none;
        border-bottom: 2px solid #007BFF;
        border-radius: 0;
        background: transparent;
        padding-left: 0;
    }

    .form-footer {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Complaint Button - Mobile */
    .complaint-btn {
        position: fixed;
        bottom: 6px;
        left: 30%;
        transform: translateX(-50%);
        width: calc(30%);
        max-width: 286px;
        padding: 8px;
        font-size: 1rem;
        font-weight: 500;
        color: white;
        background: linear-gradient(135deg, #77bb44, #5e9e37);
        border: none;
        border-radius: 8px; /* Reduced from 10px */
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow */
        z-index: 100;
        white-space: nowrap; /* Prevent text wrapping */
    }

        .complaint-btn:hover {
            transform: translateX(-50%) translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

    /* Desktop Styles - Keep original size */
    @media (min-width: 768px) {
        .complaint-btn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: auto;
            padding: 14px; /* Original padding */
            font-size: 1rem; /* Original font size */
            border-radius: 10px; /* Original border radius */
            transform: none; /* Reset transform */
        }

            .complaint-btn:hover {
                transform: translateY(-2px); /* Only vertical movement */
            }
    }
/* Add this to your existing CSS */
select.form-control {
    padding: 14px 16px !important; /* Match other input fields */
    height: auto !important; /* Remove fixed height */
    -webkit-appearance: none; /* Remove default styling on iOS */
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

    /* Ensure dropdown options have proper spacing */
    select.form-control option {
        padding: 8px 16px;
    }

/* Fix for Firefox */
@-moz-document url-prefix() {
    select.form-control {
        padding-right: 30px !important; /* Extra space for arrow */
    }
}