/* Styles for VPA Settings Form */

:root {
    --diode-green: #32FF7E;
    --diode-orange: #FFA500;
    --diode-yellow: #FFFF00;
    --diode-red: #FF0000;
    --diode-gray: #808080;
    --diode-border: #800020;
}


/* Form layout */
.settings-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #ffffff;
}

.form-heading-container {
    max-width: 450px;
    margin: 10px auto 20px;
    text-align: center;
}

/* Form heading */
.form-heading {
    margin-bottom: 20px;
    font-size: 18px !important;
    color: #003d40;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Group of indicators */
.indicator-group {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.indicator-label {
    font-size: 14px;
    white-space: nowrap;
}

/* Diode – univerzalna definicija */
.indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--diode-border);
    background-color: var(--diode-gray);
}


.indicator.enabled {
    background-color: var(--diode-green);
}
.indicator.alert {
    background-color: var(--diode-orange);
}
.indicator.helptrigger-on {
    background-color: var(--diode-red);
}
.indicator.helptrigger-standby {
    background-color: var(--diode-yellow);
}


.indicator.disabled {
    background-color: var(--diode-gray);
}

.indicator.helptrigger-off {
    background-color: var(--diode-gray);
}

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

.form-input,
.form-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-submit-btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #004953;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.response-message {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #004953;
}

.response-message p {
    margin: 0;
    font-weight: 700;
}

.response-message-saving {
    color: #444;
}

.response-message-success {
    color: #178f4f;
}

.response-message-error {
    color: #b00020;
}

.response-message-disabled {
    color: #111;
}

.standalone-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.standalone-footer p {
    margin: 6px 0;
}

.footer-secondary-link {
    margin: 6px 0 0;
}

.privacy-footer-link {
    color: #004953;
    text-decoration: none;
    font-weight: 600;
}

.privacy-footer-link:hover,
.privacy-footer-link:focus {
    text-decoration: underline;
}

.diode-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.diode-container label {
    font-size: 14px;
    margin-right: 5px;
    white-space: nowrap;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Mobilne naprave */
@media (max-width: 768px) {
    .diode-container {
        flex-direction: row;
        gap: 3px;
    }

    .diode-container label {
        font-size: 12px;
        margin-right: 3px;
    }

    .indicator {
        width: 18px;
        height: 18px;
        border: 2px solid #800020;
    }
}
