/* *********Font face declaration ***********/
@font-face {
    font-family: "MTN Brighter Sans Regular";
    src: url("../../assets/fonts/MTN/MTN\ Brighter\ Sans\ Regular.ttf")
        format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "MTN Brighter Sans Bold";
    src: url("../../assets/fonts/MTN/MTN\ Brighter\ Sans\ Bold.ttf")
        format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "MTN Brighter Sans Light";
    src: url("../../assets/fonts/MTN/MTN\ Brighter\ Sans\ Light.ttf")
        format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-Italic-VariableFont_wght.ttf")
        format("ttf-variations");
    src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "Espuma Pro";
    /* src: url("./fonts/EspumaPro-Regular.otf")
        format("ttf-variations"); */
    src: url("/fonts/EspumaPro-Regular.otf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}



:root {
    --primaryColor: #f8d713;
    --textColor: #202020;
    --labelColor: #545f71;
    --placeholderColor: #333333;
    --blackColor: #000000;
    --whiteColor: #f2f2f2;
    --borderColor: #c2c2c2;
    --bgColor: #ffffff47;
    --fontLight: "MTN Brighter Sans Light";
    /* --fontRegular: "MTN Brighter Sans Regular"; */
    /* --fontBold: "MTN Brighter Sans Bold"; */
    --fontRegular: "Montserrat";
    --fontBold: "Montserrat";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fontRegular);
}

.overview-container {
    /* border: 1px solid red; */
    /* height: 100vh; */
}

.container {
    padding: 1.5rem 3rem;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #3f4651;
}

.logo span {
    color: #fecf00;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #3f4651;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fecf00;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #3f4651;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links select{
    border: 1px solid #000000;
    padding: 4px;
    border-radius: 6px;
    background-color: transparent;
    outline: none;
}

.hero {
    background: linear-gradient(135deg, #fecf00 0%, #0000 100%);
    text-align: center;
    position: relative;
    height: 100vh;
    overflow: scroll;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    color: #3f4651;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    color: #3f4651;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #3f4651;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #2a3139;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero .left-container {
    width: 60%;
}

.hero .right-container {
    width: 40%;
    background-color: white;
    border-radius: 12px;
    padding: 1rem 2rem;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-header h3 {
    color: #3f4651;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.app-header p {
    color: #666;
    font-size: 0.9rem;
}

.validation-tabs {
    display: flex;
    border: 1px solid var(--borderColor);
    border-radius: 15px;
    padding: 2px;
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.tab.active {
    background: #fecf00;
    color: #3f4651;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.qr-scanner {
    text-align: center;
    padding: 2rem;
    border: 3px dashed #fecf00;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.qr-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.scanner-text {
    color: #3f4651;
    font-weight: 500;
    margin-bottom: 1rem;
}

.scan-btn {
    background: #fecf00;
    color: #3f4651;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scan-btn:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.code-input-section {
    text-align: center;
}

.code-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: #fecf00;
}

.validate-btn {
    background: #3f4651;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.validate-btn:hover {
    background: #2a3139;
    transform: translateY(-2px);
}

.validation-status {
    margin-top: 1.5rem;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.validation-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.validation-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#qr-reader {
    margin-top: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

#success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

#success-modal .modal-content {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

#success-modal .modal-content .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

#success-modal h2 {
    color: var(--textColor);
    font-size: 20px;
}

#success-modal .modal-content h1 {
    font-size: 24px;
    margin-bottom: 0.4rem;
    font-family: var(--fontBold);
}

#success-modal .modal-content span {
    font-size: 14px;
}

#success-modal .modal-content .modal-container-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#success-modal .modal-content .modal-container-info img {
    height: 150px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#success-modal .modal-content .modal-container-info .modal-info {
    background-color: #f8f9fa;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

#success-modal .modal-content .modal-container-info .modal-info h1 {
    font-size: 20px;
    margin-bottom: 1rem;
}

#success-modal .modal-content .modal-container-info .modal-info input {
    border: 1px solid var(--borderColor);
    padding: 0.7rem;
    border-radius: 10px;
    outline: none;
}

#success-modal p {
    font-size: 16px;
    color: #374151;
}

#success-modal button {
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 16px;
    background-color: var(--primaryColor);
    color: var(--textColor);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

footer {
    background: #2a3139;
    color: white;
    padding: 0.2rem 0;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    
    .container {
        padding: 1rem;
    }

    nav {
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #3f4651;
    }
    
    .hero {
        display: flex;
        flex-direction: column;
        padding: 10px;
        height: 100%;
    }

    .hero .left-container {
        width: 100%;
    }

    .hero .right-container {
        width: 100%;
        margin-bottom: 6rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-top: 5rem;
        line-height: 20px;
        color: #3f4651;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.8rem;
        color: #3f4651;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}