* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #007bff;
}

header h1 {
    color: #333;
    font-size: 28px;
}

.back-btn {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #007bff;
    color: white;
}

.issue-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    background-color: #f9f9f9;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.image-preview {
    margin-top: 10px;
    max-width: 300px;
}

.image-preview img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.location-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.location-btn {
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.location-btn:hover {
    background-color: #007bff;
    color: white;
}

.location-btn.active {
    background-color: #007bff;
    color: white;
}

.map-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
}

.map-instructions {
    padding: 10px;
    background-color: #f8f9fa;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.submit-btn {
    padding: 15px 40px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838;
}

.submit-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Custom Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup {
    transform: scale(1);
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.popup-icon.success {
    color: #28a745;
}

.popup-icon.error {
    color: #dc3545;
}

.popup-icon.warning {
    color: #ffc107;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.popup-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-button {
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    min-width: 100px;
}

.popup-button:hover {
    background-color: #0056b3;
}

.popup-button.success {
    background-color: #28a745;
}

.popup-button.success:hover {
    background-color: #218838;
}

.popup-button.error {
    background-color: #dc3545;
}

.popup-button.error:hover {
    background-color: #c82333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .issue-form {
        padding: 20px;
    }
    
    .location-options {
        flex-direction: column;
    }
    
    .location-btn {
        min-width: auto;
    }
    
    #map {
        height: 250px;
    }
} 