/* Stellt sicher, dass der Container die volle Breite hat */
#add-current-location-container {
    width: 100%;
    display: flex;
}

/* Der Button nimmt die gesamte Breite ein */
.add-current-location-control-button {
    flex-grow: 1;  
    width: 100%;   
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #333; /* Standard: Schwarzer Text */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

/* Button-Hover-Effekt */
.add-current-location-control-button:hover {
    background: #f4f4f4;
    color: var(--primary-color); /* Textfarbe nur beim Hover blau */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

/* Button wird gedrückt */
.add-current-location-control-button:active {
    background: #f4f4f4;
    color: var(--primary-color); /* Auch beim Drücken */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

/* Button deaktiviert (z. B. während der Standortermittlung) */
.add-current-location-control-button:disabled {
    opacity: 1 !important;
    background: #fff !important;
    color: var(--primary-color) !important; /* Jetzt ist der Text blau, wenn er deaktiviert ist */
    cursor: not-allowed;
}

/* Falls der Button ein Icon enthält */
.add-current-location-control-button img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Falls der Button während der Standortermittlung aktiv ist */
.add-current-location-control-button.processing {
    color: var(--primary-color) !important; /* Falls das JS eine CSS-Klasse setzt */
}

/* Icon-Farbe für aktive Buttons */
#add-current-location-button:active i,
#add-current-location-button[disabled] i,
#add-current-location-button.processing i {
    color: var(--primary-color) !important; /* Icon bleibt blau */
}
