html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* margin-bottom: 60px;*/
    margin-bottom: 120px;
}

.dev-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffeb3b;
    color: #000;
    text-align: center;
    padding: 0.75rem;
    font-weight: 500;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1050;
    max-height: 3rem;
}

footer.footer {
    margin-bottom: 3rem; /* vagy annyi, amekkora a banner */
    font-size: 1.5rem;
}
/*Volunteer Role page START*/

.volunteer-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

    .volunteer-card:hover {
        background-color: #f0f8ff;
    }

    .volunteer-card.active {
        transform: scale(1.03);
        border-color: #007bff;
        background-color: #e6f2ff;
    }

.description {
    display: none;
    margin-top: 10px;
}

.volunteer-card.active .description {
    display: block;
}

.rank-badge {
    position: absolute;
    top: 5px;
    right: 10px;
    background: #007bff;
    color: white;
    padding: 3px 7px;
    border-radius: 1.5rem;
    font-weight: bold;
}

#selected-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.volunteer-card.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/*Volunteer Role page END*/

/* Role Registration Cards START */
.role-card {
    border-radius: 1rem;
    border: 3px solid;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-card-enabled {
    background-color: #e0f7f5;
    border-color: #0bd0b8;
    color: #12b3a0;
}

    .role-card-enabled h5 {
        color: #12b3a0;
        font-weight: 600;
    }

    .role-card-enabled:hover {
        transform: scale(1.05);
        background-color: #0bd0b8;
        box-shadow: 0 0.75rem 1.5rem rgba(11, 208, 184, 0.3);
    }

        .role-card-enabled:hover h5 {
            color: #fff;
        }

.role-card-disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

    .role-card-disabled h5 {
        color: #999;
    }
/* Role Registration Cards END */

.accommodation-card {
    transition: all 0.3s ease;
    background-color: #fff;
    border-radius: 1rem;
    border: 3px solid #0bd0b8;
    box-shadow: 0 0.25rem 0.5rem rgba(11, 208, 184, 0.1);
    min-height: 12rem;
    display: flex;
    flex-direction: column;
}

    .accommodation-card:hover {
        transform: scale(1.03);
        background-color: #e0f7f5;
        border-color: #12b3a0;
        box-shadow: 0 0.75rem 1.5rem rgba(11, 208, 184, 0.3);
    }

    .accommodation-card h5 {
        color: #12b3a0;
        margin-left: 1.5rem;
        font-weight: 600;
    }

    .accommodation-card strong {
        color: #16b2a0;
        font-weight: 600;
    }

    .accommodation-card .fs-5 {
        color: #0bd0b8;
        font-weight: 700;
    }

    .accommodation-card > div.mb-3 {
        text-align: left;
    }

.accommodation-icon {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(42%) saturate(1049%) hue-rotate(131deg) brightness(95%) contrast(95%);
    transition: filter 0.3s ease;
}

.accommodation-card:hover .accommodation-icon {
    filter: brightness(0) saturate(100%) invert(59%) sepia(84%) saturate(1697%) hue-rotate(131deg) brightness(101%) contrast(96%);
}

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 2.5rem;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    padding: 0;
    line-height: 1;
}

    .toggle-password:focus {
        outline: none;
    }

/* Password toggle button and SVG icon styling */
.position-relative .btn.position-absolute {
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10;
}

.btn svg.bi-eye {
    color: #12b3a0;
    transition: color 0.2s ease;
    display: block;
    flex-shrink: 0;
}

.btn:hover svg.bi-eye {
    color: #0bd0b8;
}

.btn:focus svg.bi-eye {
    outline: none;
    box-shadow: none;
}

.btn.bg-transparent:focus {
    box-shadow: none;
}

/* Date input styling */
.date-input {
    position: relative;
}

.input-group .input-group-text .fas.fa-calendar-alt {
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .input-group .input-group-text .fas.fa-calendar-alt:hover {
        color: #495057;
    }

.flatpickr-input {
    background-color: #fff;
}

    .flatpickr-input:focus {
        border-color: #258cfb;
        box-shadow: 0 0 0 0.25rem rgba(37, 140, 251, 0.25);
    }

/* ===== Turquoise Theme for Forms ===== */

/* Headings styling - Orange accent with center alignment */
h1 {
    color: #ff9800;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    font-size: 2rem;
}

/* Page title class for h4 and h2 headings */
h4.page-title,
h2.page-title {
    color: #ff9800;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}

/* Paragraph text styling - turquoise */
main p {
    color: #16b2a0;
    font-size: 1.3rem;
}

/* Override for program boxes - keep headings white */
.program-box h1,
.program-box h2,
.program-box h4,
.program-box h6 {
    color: white !important;
    text-align: center;
}

/* Form inputs styling */
.form-control {
    border-color: #12b3a0 !important;
    color: #0bd0b8 !important;
    border-width: 2px;
    font-weight: 600;
}

    .form-control:focus {
        border-color: #12b3a0 !important;
        box-shadow: 0 0 0 0.2rem rgba(11, 208, 184, 0.25) !important;
        color: #0bd0b8 !important;
    }

    .form-control::placeholder {
        color: rgba(11, 208, 184, 0.6);
    }

/* Labels to match the turquoise theme */
.form-group label {
    color: #16b2a0;
    font-weight: 700;
    font-size: 1.2rem;
}

    /* Links within form labels - Orange accent */
    .form-check-label a,
    .form-group label a {
        color: #ff9800 !important;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

        .form-check-label a:hover,
        .form-group label a:hover {
            color: #e68900 !important;
            text-decoration: underline;
        }

/* Navigation links in login/registration pages - Orange accent */
.login-content a,
.body-content a:not(.btn) {
    color: #ff9800 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .login-content a:hover,
    .body-content a:not(.btn):hover {
        color: #e68900 !important;
        text-decoration: underline;
    }

/* Checkbox styling */
.form-check-input {
    border-color: #0bd0b8 !important;
    border-width: 2px;
}

    .form-check-input:checked {
        background-color: #0bd0b8 !important;
        border-color: #0bd0b8 !important;
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(11, 208, 184, 0.25) !important;
    }

/* Primary button (Next) - Turquoise theme */
.btn-primary {
    background-color: #0bd0b8 !important;
    border-color: #0bd0b8 !important;
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #09b8a1 !important;
        border-color: #09b8a1 !important;
        box-shadow: 0 4px 8px rgba(11, 208, 184, 0.3);
        transform: translateY(-1px);
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 0.2rem rgba(11, 208, 184, 0.5) !important;
    }

/* Secondary button (Back) - Neutral gray */
.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background-color: #5a6268 !important;
        border-color: #545b62 !important;
        box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
        transform: translateY(-1px);
    }

    .btn-secondary:focus {
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5) !important;
    }

.alert-info {
    color: #fff !important;
    background-color: #00c1b0;
    border-color: #12b3a0;
}

.alert-info h5,
.alert-info .alert-heading,
.alert-info p,
.alert-info strong {
    color: #fff !important;
}

.alert-danger {
    color: #fff !important;
    background-color: #a63a339c;
    border-color: #f5c6cb;
}

.alert-danger h5,
.alert-danger .alert-heading,
.alert-danger p,
.alert-danger strong {
    color: #fff !important;
}

.alert-success {
    color: #fff !important;
    background-color: #0bd0b8;
    border-color: #12b3a0;
}

.alert-success h5,
.alert-success .alert-heading,
.alert-success p,
.alert-success strong {
    color: #fff !important;
}
.alert-warning {
    color: #333;
    background-color: #fff3cd;
    border-color: #ffc107;
}
.alert-secondary {
    color: #333;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}

/* Summary Page Cards */
.summary-card {
    border: 3px solid #0bd0b8;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(11, 208, 184, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.summary-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(11, 208, 184, 0.25);
    transform: translateY(-2px);
}

.summary-card-header {
    background-color: #0bd0b8 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-bottom: none;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.summary-card-body {
    padding: 1.5rem;
    flex: 1;
}

.summary-card-body p {
    color: #16b2a0;
    margin-bottom: 0.75rem;
}

.summary-card-body strong {
    color: #12b3a0;
    font-weight: 600;
}

.summary-card-body h6 {
    color: #0bd0b8;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.summary-card-body h5 {
    color: #0bd0b8;
    font-weight: 700;
}

.summary-card-body hr {
    border-color: #0bd0b8;
    opacity: 0.3;
}

.summary-card .list-unstyled li {
    color: #16b2a0;
    margin-bottom: 0.5rem;
}

.summary-card .list-unstyled strong {
    color: #12b3a0;
}

.summary-card .accommodation-icon {
    filter: brightness(0) saturate(100%) invert(52%) sepia(42%) saturate(1049%) hue-rotate(131deg) brightness(95%) contrast(95%);
}

/* Form Cards */
.form-card {
    border: 3px solid #0bd0b8;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(11, 208, 184, 0.15);
}

.form-card-header {
    background-color: #0bd0b8 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 1.5rem;
    border-bottom: none;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.form-card-header h2,
.form-card-header h3 {
    color: #fff !important;
    margin-bottom: 0;
}

.form-card-header .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.form-card-body {
    padding: 2rem;
}

.form-card-body .form-label {
    color: #16b2a0;
    font-weight: 700;
    font-size: 1.2rem;
}

.form-card-body label {
    color: #16b2a0;
    font-weight: 700;
    font-size: 1.2rem;
}

.form-card-body .form-check-label {
    color: #16b2a0;
    font-weight: 500;
    font-size: 1rem;
}

/* Turquoise themed badges */
.badge-turquoise {
    background-color: #0bd0b8 !important;
    color: #fff;
}

.badge-turquoise-light {
    background-color: #e0f7f5 !important;
    color: #12b3a0;
    font-weight: 600;
}

/* Form table styling */
.form-card-body .table thead th {
    background-color: #e0f7f5 !important;
    color: #12b3a0;
    font-weight: 700;
    border-color: #0bd0b8;
}

.form-card-body .table {
    border-color: #0bd0b8;
}

.form-card-body .table td,
.form-card-body .table th {
    border-color: rgba(11, 208, 184, 0.3);
}
.btn-success {
    color: #fff;
    background-color: #ff9800;
    border-color: #ff9800;
}
.btn-success:hover {
    background-color: #f8c819;
    border-color: #f8c819;
}