
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    font-family: Verdana;
}

body {
    padding: 0;
    margin: 0;
    display: flex;
    min-height: 100dvh;
    width: 100%;
    justify-content: center;
}
#login {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #007bff, #00c6ff);
}
.login-card {
    background: #fff;
    width: 90%;
    max-width: 390px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
#app {
    min-height: 100vh;
    min-height: 100dvh;
    background: #f2f2f2;
    width: 100%;
    max-width: 100%;
}


.app-container {
    min-height: 100dvh;
    display: flex;

    flex-direction: column;
}

/* ================= HEADER ================= */

.header {
    height: 56px;
    background: #1e1e1e;
    color: #fff;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ================= CONTENT ================= */

.content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

/* ================= FOOTER ================= */

.footer {
    height: 56px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
}





.loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .loader.hidden {
        display: none;
    }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


ul{
    list-style:none;
}

.card {
    background: white;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}


.hidden {
  display: none !important;
}


.invalid {
    border: 1px solid red;
    background: #ffe6e6;
}
.form-control label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 6px;
    cursor: pointer;
}

.form-control input[type="radio"],
.form-control input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1976d2;
}
.form-control button {
    padding: 8px 12px;
    margin-right: 8px;
    border-radius: 8px;
    border: none;
    background: #1976d2;
    color: white;
    font-size: 13px;
    cursor: pointer;
}

    .form-control button:last-child {
        background: #555;
    }

    .form-control button:hover {
        opacity: .9;
    }
.photo-preview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

    .photo-preview img {
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,.2);
    }
.required {
    color: #d32f2f;
    margin-left: 4px;
}