:root {
    --primary: #e61e25; /* Red from logo/reference */
    --primary-dark: #b8181d;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-grey: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #28a745;
    --error: #dc3545;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #080808;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #080808;
    background-image: 
        radial-gradient(at 0% 0%, rgba(230, 30, 37, 0.08) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(230, 30, 37, 0.08) 0, transparent 50%);
}

/* Abstract shapes inspired by reference but adapted for dark mode */
.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
        linear-gradient(225deg, transparent 75%, rgba(230, 30, 37, 0.03) 75%);
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 60%;
    height: 40%;
    background: var(--primary);
    opacity: 0.1;
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.logo {
    width: 140px;
    height: auto;
    margin-bottom: 24px;
    /* Removed drop-shadow as requested */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

form::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(230, 30, 37, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' 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 18px center;
    background-size: 16px;
    padding-right: 48px;
}

select option {
    background-color: #1a1a1a;
    color: var(--text-white);
}

textarea {
    resize: vertical;
}

/* Location and Photo Controls */
.location-controls, .photo-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-location, .btn-photo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed var(--border-color);
    border-radius: 14px;
    padding: 15px;
    color: var(--text-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-location:hover, .btn-photo:hover {
    background: rgba(230, 30, 37, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.location-controls input[readonly] {
    text-align: center;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(230, 30, 37, 0.05);
    border: 1px solid rgba(230, 30, 37, 0.2);
}

.status-box {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-grey);
    text-align: center;
}

.photo-preview {
    width: 100%;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.photo-preview img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.btn-submit {
    grid-column: span 2;
    margin-top: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(230, 30, 37, 0.4);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 30, 37, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #444;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 20px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification.success { border-left: 5px solid var(--success); }
.notification.error { border-left: 5px solid var(--error); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    form {
        padding: 25px;
    }
    
    .container {
        margin: 20px auto;
    }
}
