/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Container styling */
.container {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Form Headings */
h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Labels & Inputs */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Row Layout for City/State/Coordinates */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.row > div {
    flex: 1;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Custom File Upload Styling */
input[type="file"] {
    padding: 10px 0;
    margin-bottom: 20px;
}

/* Floating Navigation Fix (Nuvvu adigindi) */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s all;
}

.floating-btn:hover {
    background: #1abc9c;
    color: white;
    transform: translateY(-3px);
}

/* Project Header (Branding) */
.project-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e272e, #2c3e50);
    color: white;
    border-radius: 0 0 30px 30px;
}

.project-header h1 {
    font-size: 3rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

/* Security Section Highlight */
.security-section {
    background: #fff5f5;
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid #e74c3c;
    margin: 30px 0;
}

.security-section h2 {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    margin-top: 0;
}

/* Footer Buttons */
.form-footer-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 600px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
    .container {
        padding: 20px;
        margin: 10px;
    }
    .project-header h1 {
        font-size: 2rem;
    }
}
/* Styling the Country Input Field */
#countryInput {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px; /* Rounded corners for modern look */
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
    outline: none;
}

/* Hover & Focus Effects */
#countryInput:focus {
    border-color: #3498db; /* Blue highlight */
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Placeholder Styling */
#countryInput::placeholder {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* Specifically styling the label for Country */
label[for="countryInput"] {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
    display: block;
}

/* Datalist behavior (Browser dependent, but we can style the container) */
input[list]::-webkit-calendar-picker-indicator {
    display: none !important; /* Browsers lo default arrow ni teeyalante idi vaadali */
}

/* If you want a small icon inside the input (like a globe) */
.country-wrapper {
    position: relative;
}

.country-wrapper i {
    position: absolute;
    right: 15px;
    top: 40px;
    color: #7f8c8d;
}
#countryInput {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
    font-family: inherit;
}

#countryInput:focus {
    border-color: #27ae60;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
    outline: none;
}