/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Styles */
.form-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Admin Dashboard Styles */
.dashboard-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.logout-btn {
    background-color: #f44336;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
}

/* Success Message Styles */
.success-message {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.status-check-form {
    text-align: center;
    margin-bottom: 20px;
}

.status-check-form form {
    display: inline-flex;
    gap: 10px;
}

/* Status Check Result Styles */
.status-details {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    border-radius: 3px;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Action Buttons */
.action-buttons {
    margin-top: 20px;
}

.check-another-btn,
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 4px;
}

.check-another-btn {
    background-color: #2196F3;
    color: white;
}

.back-btn {
    background-color: #757575;
    color: white;
}

/* Payment Section Styles */
.payment-options {
    margin-top: 20px;
    text-align: center;
}

.payment-btn {
    background-color: #2196F3;
    margin-bottom: 10px;
}

.payment-note {
    color: #666;
    font-style: italic;
}

/* Price Display */
.price-display {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 5px;
}

/* Application List Styles */
.applications-list {
    margin-top: 20px;
}

.application-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.application-item p {
    margin: 5px 0;
}

/* Login Form Styles */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Login Form Inputs */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f44336;
}

/* Grid Layout for admin settings form */
.settings-section form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

/* Inline status form */
.inline-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.inline-form input[type="text"] {
    flex: 1;
}

.inline-form button {
    padding: 8px 16px;
}

/* Company Info Header */
.company-info {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 15px;
}

/* File upload button style */
.file-upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
}
.file-upload-btn:hover {
    background-color: #0069d9;
}

/* Display selected file names */
#fileNamesDisplay {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* Insurance Info section */
.insurance-info {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}
.insurance-info h3 {
    margin-bottom: 10px;
    color: #856404;
}
.insurance-info ul {
    list-style: disc inside;
    color: #856404;
}

/* Bottom info section */
.bottom-info {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    color: #0d47a1;
}
.bottom-info h2 {
    margin-bottom: 10px;
    text-align: center;
}
.bottom-info p {
    margin: 5px 0;
    text-align: center;
} 