.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.auth-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

.auth-form {
    display: none;
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group label i {
    color: #FFA000;
    width: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.toggle-password:hover {
    color: #FFA000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.password-hint {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
}

.forgot-link {
    color: #FFA000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 168, 0, 0.3);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-switch p {
    color: #666;
    font-size: 14px;
}

.auth-switch a {
    color: #FFA000;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

.auth-loading p {
    margin-top: 20px;
    color: #666;
    font-size: 16px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-success {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.auth-success i {
    font-size: 60px;
    color: var(--dark-yellow);
    margin-bottom: 20px;
}

.auth-success h3 {
    color: #333;
    margin-bottom: 10px;
}

.auth-success p {
    color: #666;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .auth-header h2 {
        font-size: 24px;
    }
    
    .btn-auth {
        padding: 14px;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
}

.user-dropdown {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.user-profile-btn:hover {
    background: #f5f5f5;
}

.user-profile-btn i:first-child {
    font-size: 20px;
}

.user-profile-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-dropdown.active .user-profile-btn i:last-child {
    transform: rotate(180deg);
}

.user-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    display: none;
    animation: fadeInDown 0.3s ease;
}

.user-dropdown.active .user-dropdown-content {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.user-dropdown-content a:hover {
    background: #f9f9f9;
    color: #FFA000;
}

.user-dropdown-content a i {
    width: 20px;
    text-align: center;
}

.user-dropdown-content a:last-child {
    color: #f44336;
}

.user-dropdown-content a:last-child:hover {
    background: #fff5f5;
}
.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    width: 100%;
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding: 5px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--dark-yellow);
}

.toggle-password:focus {
    outline: none;
}

.toggle-password i {
    pointer-events: none;
}

.autocomplete-suggestions {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.2s ease;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    font-size: 14px;
}

.autocomplete-item:hover {
    background: var(--light-yellow);
    padding-left: 20px;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .toggle-password {
        right: 8px;
        font-size: 16px;
    }
}

.map-container {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

#location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.map-instructions {
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-instructions i {
    color: #FFA000;
}

.coordinates-display {
    margin-top: 10px;
}

.coordinate-input {
    font-family: monospace;
    font-size: 13px;
}

.coordinate-input:read-only {
    background-color: #f0f0f0;
    cursor: default;
}

.leaflet-marker-icon {
    transition: transform 0.2s ease;
}

.leaflet-marker-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #location-map {
        height: 250px !important;
    }
    
    .coordinates-display {
        flex-direction: column;
        gap: 10px;
    }
}

.leaflet-pane,
.leaflet-control {
    z-index: 1 !important;
}

.leaflet-popup {
    z-index: 2 !important;
}

.map-container {
    position: relative;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

#location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.map-notification {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
}

.manual-locate-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.manual-locate-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.manual-locate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.manual-locate-btn i {
    color: #FFA000;
}

.coordinates-display {
    margin-top: 15px;
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.coordinate-input {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.coordinate-input:focus {
    outline: none;
    border-color: #FFA000;
    box-shadow: 0 0 0 2px rgba(255, 160, 0, 0.1);
}

.coordinate-input:read-only {
    background-color: #f0f0f0;
    color: #333;
    cursor: default;
}

.map-instructions {
    font-size: 13px;
    color: #666;
    margin: 10px 0;
    padding: 8px 12px;
    background: #fff3e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #FFA000;
}

.map-instructions i {
    color: #FFA000;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    #location-map {
        height: 250px !important;
    }
    
    .manual-locate-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .coordinates-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-notification {
        font-size: 12px;
        white-space: normal;
        width: 90%;
        text-align: center;
    }
}

.leaflet-marker-icon {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
    transition: transform 0.2s ease;
}

.leaflet-marker-icon:hover {
    transform: scale(1.1);
}

.leaflet-popup-content {
    font-size: 13px;
    color: #333;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 10px;
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FFA000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.address-field-valid {
    border-color: var(--dark-yellow) !important;
    background-color: #f0f9f0 !important;
}

.address-field-error {
    border-color: #f44336 !important;
    background-color: #fff5f5 !important;
}

.location-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1001;
}

.map-container {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

#location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.map-instructions {
    font-size: 12px;
    color: #666;
    margin: 10px 0;
    padding: 8px 12px;
    background: #fff3e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #FFA000;
}

.map-instructions i {
    color: #FFA000;
}

.coordinates-display {
    margin-top: 15px;
}

.coordinate-input {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: white;
}

.coordinate-input:read-only {
    background-color: #f0f0f0;
    color: #333;
}

.leaflet-pane,
.leaflet-control {
    z-index: 1 !important;
}

@media (max-width: 768px) {
    #location-map {
        height: 250px !important;
    }
    
    .coordinates-display {
        flex-direction: column;
        gap: 10px;
    }
}
.auth-form {
    display: none !important;
}


.auth-form.active-form {
    display: block !important;
}

#loginForm, #registerForm {
    display: none;
}

#loginForm.active-form, #registerForm.active-form {
    display: block;
}
.street-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f8f9fa;
}

.suggestion-item i {
    color: #FFA000;
    font-size: 16px;
    min-width: 20px;
}

.suggestion-details {
    flex: 1;
}

.suggestion-details strong {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.suggestion-details small {
    color: #666;
    font-size: 12px;
}

.suggestion-item.loading,
.suggestion-item.error,
.suggestion-item.no-results {
    color: #666;
    justify-content: center;
}

.suggestion-item.loading i,
.suggestion-item.error i,
.suggestion-item.no-results i {
    color: #999;
}

.suggestion-item.error {
    color: #dc3545;
}

.suggestion-item.error i {
    color: #dc3545;
}

.form-group {
    position: relative;
}