/* OSB Guestoffice - Olympiastadion Berlin Design */

:root {
    --osb-blue-rgb: 0, 102, 179;
    --osb-blue: rgb(var(--osb-blue-rgb));
    --bs-primary-rgb: var(--osb-blue-rgb);

    --osb-dark-blue: #014582;
    --osb-light-blue: #A4BAE3;

    --osb-white: #FFFFFF;
    --osb-light-gray: #F5F5F5;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 1rem;
    }

    .brand-logo {
        height: 40px;
    }
}

.no-break {
    white-space: nowrap;
    hyphens: none;
}

body {
    background: linear-gradient(135deg, var(--osb-light-gray) 0%, var(--osb-white) 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.osb-header-bar {
    background-color: var(--osb-dark-blue);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.osb-header-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 70px;
    width: auto;
}

.brand-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-switch .btn {
    background-color: var(--osb-white);
    color: var(--osb-blue);
    border: none;
    font-weight: 600;
    min-width: 45px;
    transition: all 0.3s ease;
}

.lang-switch .btn:hover {
    background-color: var(--osb-dark-blue);
    color: white;
    transform: translateY(-2px);
}

.signup-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.osb-card-header {
    background: linear-gradient(135deg, var(--osb-blue) 0%, var(--osb-dark-blue) 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.osb-card-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--osb-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 179, 0.15);
}

.osb-section-title {
    color: var(--osb-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--osb-blue);
}

.btn {
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 179, 0.3);
}

.btn-primary {
    background-color: var(--osb-blue);
}

.btn-primary:hover {
    background-color: var(--osb-dark-blue);
}

.btn-light {
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--osb-light-blue);
    border-color: var(--osb-blue);
    color: var(--osb-blue);
}

/*
Label soll NICHT ausgegraut werden, auch wenn
 Checkbox disabled ist
 */
.form-check-input:disabled ~ .form-check-label {
    color: inherit;
    opacity: 1;
}

/* optional: Cursor passend */
.form-check-input:disabled,
.form-check-input:disabled ~ .form-check-label {
    cursor: default;
}

.alert {
    border-radius: 8px;
    border: none;
}

.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.required-text {
    color: #dc3545;
    font-weight: bold;
}
