/* Stellt sicher, dass der Container die volle Breite hat */
#add-current-location-photo-container {
    width: 100%;
    display: flex;
}

/* Der Button nimmt die gesamte Breite ein */
.add-current-location-photo-control-button {
    flex-grow: 1;  
    width: 100%;   
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px; /* Angepasst an die geschätzte Rundung */
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Schatten leicht verstärkt */
    transition: all 0.2s ease-in-out;
}

/* Button-Hover-Effekt */
.add-current-location-photo-control-button:hover {
    background: #f4f4f4;
    color: var(--primary-color);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25); /* Stärkerer Schatten für Hover */
}

/* Button gedrückt (kleinerer Schatten) */
.add-current-location-photo-control-button:active {
    background: #f4f4f4;
    color: var(--primary-color);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

/* Verhindert, dass der Button transparent wird, wenn er deaktiviert ist */
.add-current-location-photo-control-button:disabled {
    opacity: 1 !important;
    background: #fff !important;
    cursor: not-allowed;
}

/* Falls der Button ein Icon enthält */
.add-current-location-photo-control-button img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Falls der Upload-Button aktiv oder im Ladezustand ist */
#add-current-location-photo-button-image:active,
#add-current-location-photo-button-image[disabled],
#add-current-location-photo-button-image.uploading {
    color: var(--primary-color) !important; /* Blaue Schrift */
}

/* Icon-Farbe für aktive Buttons */
#add-current-location-photo-button-image:active i,
#add-current-location-photo-button-image[disabled] i,
#add-current-location-photo-button-image.uploading i {
    color: var(--primary-color) !important; /* Blauer Farbton für FontAwesome-Icons */
}
