/* Variables modernes */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #4CAF50;
    --accent-light: #66BB6A;
    --danger-color: #f44336;
    --border-color: #e8e8e8;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 12px;
}

/* Override header styles pour la page Spot Navigator */
.spots-navigator-page .ast-primary-header-bar,
.spots-navigator-page .ast-primary-header-bar * {
    color: #111 !important;
    border-color: #111 !important;
}

.spots-navigator-page .ast-primary-header-bar a {
    color: #111 !important;
}

.spots-navigator-page .ast-primary-header-bar a:hover {
    color: #4CAF50 !important;
}

/* Container principal */
.spots-navigator-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 16px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header moderne avec layout horizontal */
.spots-header {
    margin-bottom: 32px;
    padding: 0;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: center;
    padding: 40px 0;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-badge svg {
    flex-shrink: 0;
}

.spots-header h1 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0;
}

.header-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    max-width: 540px;
    margin: 0;
}

.header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.visual-circle-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    animation: pulse-slow 4s ease-in-out infinite;
}

.visual-circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    animation: pulse-slow 4s ease-in-out infinite 1s;
}

.visual-circle-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    animation: pulse-slow 4s ease-in-out infinite 2s;
}

@keyframes pulse-slow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

.visual-icon {
    position: relative;
    z-index: 2;
    color: var(--accent-color);
    filter: drop-shadow(0 4px 12px rgba(76, 175, 80, 0.3));
}

@media (max-width: 900px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .header-right {
        order: -1;
    }
    
    .header-left {
        align-items: center;
        order: 1;
    }
    
    .header-badge {
        margin: 0 auto;
    }
    
    .spots-header h1 {
        font-size: 2.25rem;
    }
    
    .header-description {
        max-width: 100%;
    }
    
    .header-visual {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    
    .visual-circle-1 {
        width: 160px;
        height: 160px;
    }
    
    .visual-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .visual-circle-3 {
        width: 80px;
        height: 80px;
    }
    
    .visual-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 24px 0;
    }
    
    .spots-header h1 {
        font-size: 1.85rem;
        letter-spacing: -1px;
    }
    
    .header-description {
        font-size: 0.95rem;
    }
    
    .header-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .header-badge svg {
        width: 16px;
        height: 16px;
    }
}

/* Card principale */
.spots-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.spots-card:hover {
    box-shadow: var(--shadow-md);
}

/* Section d'import */
.import-section {
    margin-bottom: 30px;
}

.import-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.import-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.import-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.import-help {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
}

.import-help strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.import-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
}

@media (min-width: 640px) {
    .import-actions {
        grid-template-columns: 1fr auto auto;
    }
}

.btn {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Section position actuelle */
.current-position {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.current-position h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
}

.position-info {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 1;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.position-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.95rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.btn-view-position {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 24px;
    background: white;
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-view-position:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,255,255,0.4);
    background: #f5f5f5;
}

/* Lieu le plus proche - design moderne */
.nearest-spot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.nearest-spot::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nearest-spot-content {
    position: relative;
    z-index: 1;
}

.nearest-spot h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.spot-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.spot-distance {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 16px;
    font-weight: 600;
}

.spot-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .spot-actions {
        grid-template-columns: 1fr auto;
    }
}

.btn-navigate {
    background: white;
    color: #667eea;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-navigate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

@media (max-width: 480px) {
    .spot-name {
        font-size: 1.25rem;
    }
    
    .spot-distance {
        font-size: 1rem;
    }
}

/* Liste des spots */
.spots-list {
    margin-top: 20px;
}

.spots-list h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.spot-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.spot-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.spot-item.visited {
    opacity: 0.6;
    background: var(--bg-light);
}

.spot-item.postponed {
    border-left: 4px solid #ff9800;
    background: linear-gradient(to right, #fff3e0 0%, white 10%);
}

@media (max-width: 640px) {
    .spot-item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        align-items: start;
    }
    
    .spot-checkbox {
        grid-column: 1;
        grid-row: 1;
    }
    
    .spot-details {
        grid-column: 2;
        grid-row: 1;
    }
    
    /* Les boutons sur la même ligne en dessous */
    .spot-postpone-btn {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }
    
    .spot-navigate-btn {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
    }
}

.spot-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.spot-details {
    flex: 1;
}

.spot-details h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.spot-meta {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.spot-distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}

.spot-coords {
    color: #999;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
}

.spot-navigate-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.spot-navigate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.spot-postpone-btn {
    padding: 8px 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spot-postpone-btn:hover {
    border-color: #ff9800;
    background: #fff3e0;
    transform: scale(1.1);
}

.spot-postpone-btn.active {
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    border-color: #ff9800;
    color: white;
}

.postponed-list .section-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}

@media (max-width: 640px) {
    .spot-meta {
        font-size: 0.75rem;
    }
    
    .spot-coords {
        display: none;
    }
    
    .spot-navigate-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        height: 44px;
    }
    
    .spot-postpone-btn {
        padding: 10px;
        font-size: 1.1rem;
        height: 44px;
    }
}

/* Section Stats Moderne */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius);
    padding: 32px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.stats-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.stats-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* Carte stat principale */
.stat-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.stat-card-primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
}

.stat-card-primary .stat-label,
.stat-card-primary .stat-number {
    color: white;
}

.stat-card-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.stat-card-success .stat-label,
.stat-card-success .stat-number,
.stat-card-success .progress-text {
    color: white;
}

.stat-card-warning {
    background: linear-gradient(135deg, #FF9800 0%, #FFA726 100%);
}

.stat-card-warning .stat-label,
.stat-card-warning .stat-number,
.stat-card-warning .progress-text {
    color: white;
}

.stat-card-postponed {
    background: linear-gradient(135deg, #fb8c00 0%, #f57c00 100%);
}

.stat-card-postponed .stat-label,
.stat-card-postponed .stat-number {
    color: white;
}

.stat-card-info {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
}

.stat-card-info .stat-label,
.stat-card-info .stat-number {
    color: white;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    color: white;
}

.stat-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 2;
}

.stat-icon-small svg {
    color: white;
    width: 20px;
    height: 20px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card-primary .stat-number {
    color: white;
    font-size: 3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-progress {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill-warning {
    background: white;
}

.progress-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    min-width: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-section {
        padding: 24px 16px;
    }
    
    .stats-header h2 {
        font-size: 1.5rem;
    }
    
    .stats-subtitle {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card-primary {
        gap: 16px;
    }
    
    .stat-card-info {
        grid-column: 1 / -1;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card-primary .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-card-primary .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
    }
    
    .stat-icon-small {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon-small svg {
        width: 20px;
        height: 20px;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 10px;
}

/* Responsive global */
@media (max-width: 768px) {
    .spots-navigator-page {
        padding: 12px;
    }
    
    .spots-header {
        padding: 16px 12px;
        margin-bottom: 16px;
    }
    
    .spots-header h1 {
        font-size: 1.4rem;
    }
    
    .spots-header p {
        font-size: 0.85rem;
    }
    
    .spots-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .spots-list h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .spots-header h1 {
        font-size: 1.25rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Formulaire d'ajout de spots */
.add-spots-section {
    margin-bottom: 10px;
}

.add-spots-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Import depuis fichier */
.import-file-section {
    margin-bottom: 24px;
}

.file-import-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-import-label:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #f0f9f1 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-import-label svg {
    color: var(--accent-color);
}

.file-import-label span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.file-import-label small {
    font-size: 0.85rem;
    color: #666;
}

#spots-form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.spot-form-item {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px;
    padding-top: 24px;
    background: #fafafa;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.spot-form-item:hover {
    border-color: var(--accent-color);
    background: #f0f7f0;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
}

.spot-form-item:hover .btn-remove-spot {
    opacity: 1;
}

.spot-form-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-input {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.3s !important;
    background: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.spot-input:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15) !important;
    transform: translateY(-1px) !important;
}

.spot-input:hover {
    border-color: #c0c0c0 !important;
}

.spot-name-input {
    font-weight: 600 !important;
}

.spot-data-input {
    font-family: 'Courier New', monospace !important;
    font-size: 0.95rem !important;
    color: #555 !important;
}

.btn-remove-spot {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    z-index: 10;
}

.btn-remove-spot:hover {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-remove-spot svg {
    width: 16px;
    height: 16px;
}

.add-spot-actions {
    margin-bottom: 20px;
}

.btn-add {
    background: #f0f0f0;
    color: var(--primary-color);
    border: 2px dashed var(--border-color);
}

.btn-add:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Responsive pour formulaire */
@media (max-width: 768px) {
    .spot-form-item {
        padding: 18px;
        padding-top: 28px;
    }
    
    .btn-remove-spot {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        opacity: 1;
    }
    
    .btn-remove-spot svg {
        width: 18px;
        height: 18px;
    }
    
    .add-spot-actions {
        width: 100%;
    }
    
    .btn-add {
        width: 100%;
    }
}
