/* Dynamic CSS from config only */

/* Custom Fonts */
@font-face {
    font-family: 'FRFX Condensed';
    src: url('fonts/FRFXCondensed-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RAMS NAMEPLATE 2020';
    src: url('fonts/RAMSNAMEPLATE2020.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Only apply styles if config values exist */
body.branding-page {
    background-color: #ffffff;
}

.branding-page h1 {
    color: #000000;
}

.btn-main {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-main:hover {
    background-color: #242424;
    color: #ffffff;
}

#jerseyName {
    font-family: 'RAMS NAMEPLATE 2020', sans-serif;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    top: 20%;
    width: 100%;
    font-size: clamp(65px, 16vw, 90px);
    z-index: 2;
}

#jerseyNumber {
    font-family: 'FRFX Condensed', sans-serif;
    text-align: center;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: clamp(192px, 54vw, 270px);
    background: linear-gradient(to bottom, #FFD100 40%, #FFD100 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

#qrTitle {
    color: #000000;
    font-weight: bold;
    font-size: clamp(36px, 8vw, 72px);
    text-align: center;
    margin-bottom: 20px;
}

#thankYou {
    color: #000000;
    font-size: clamp(24px, 6vw, 48px);
    text-align: center;
    margin-bottom: 20px;
}

.branding-page header {
    background-color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

.branding-page header h1 {
    color: #000000;
    margin: 10px 0;
}

.branding-page footer {
    background-color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

.branding-page footer div {
    color: #000000;
    margin-top: 10px;
}

/* Base styles that don't depend on config */
.branding-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

#qrCode {
    width: 80vw;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.fullpage-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

header img, footer img {
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}