/* ============================================
   KNKY APPLICATION FORM STYLES
   Scoped under .app-page to avoid conflicts
   ============================================ */

/* Page background override — full page black, not just the container */
body:has(.app-page) {
    background: #000 !important;
}
body:has(.app-page) .content {
    background: #000 !important;
}
.app-page {
    background: #000;
    min-height: 100vh;
}

/* Subtle radial glow behind form */
.app-page .container.max720 {
    position: relative;
}
.app-page .container.max720::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(235,41,133,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hero header area */
.app-hero {
    text-align: center;
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
}
.app-hero-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(235,41,133,0.4));
}
.app-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2em;
    background: linear-gradient(135deg, #eb2985, #ff6bb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px;
}
.app-hero p {
    color: #ddd;
    font-size: 1em;
    margin: 0 0 20px;
    line-height: 1.5;
}
.app-hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #eb2985, transparent);
    margin: 0 auto;
}

/* Tab switcher — brush-stroke image buttons (matching live site) */
.app-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 40px;
    position: relative;
    z-index: 1;
}
/* Override the site's default .tab styles to use brush-stroke images */
.app-page .tab {
    overflow: visible;
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.app-page .tab input[type=button],
.app-page .tablinks {
    float: none;
    background: url("../images/btn_gray1.png") no-repeat center center;
    background-size: cover;
    text-transform: uppercase;
    color: #fff;
    padding: 0;
    font-weight: 900;
    width: 165px;
    height: 53px;
    font-family: "Montserrat", serif;
    font-size: 1em;
    border: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 0;
    letter-spacing: 1px;
    margin: 0;
}
.app-page .tab input[type=button].tabButtonPressed,
.app-page .tablinks.tabButtonPressed {
    background: url("../images/white_board_lgbtn.png") no-repeat center center !important;
    background-size: cover !important;
    color: #fff;
}
.app-page .tab input[type=button]:hover,
.app-page .tablinks:hover {
    opacity: 0.85;
}

/* Section headers with pink accent line */
.app-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: #fff;
    margin: 35px 0 20px;
    padding-left: 16px;
    border-left: 3px solid #eb2985;
    position: relative;
    z-index: 1;
    text-align: left;
}

/* Form field labels */
.app-page .app-field-label {
    font-size: 0.9em;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}
.app-page .app-field-label .required {
    color: #eb2985;
    margin-left: 2px;
}

/* Form inputs */
.app-page input[type="text"],
.app-page input[type="email"],
.app-page input[type="tel"],
.app-page input[type="date"],
.app-page textarea,
.app-page select,
.app-page .form-control {
    background: #111 !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    font-size: 16px;
    width: 100%;
    min-height: 48px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Montserrat', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.app-page input[type="text"]:focus,
.app-page input[type="email"]:focus,
.app-page input[type="tel"]:focus,
.app-page textarea:focus,
.app-page select:focus,
.app-page .form-control:focus {
    border-color: #eb2985 !important;
    box-shadow: 0 0 0 3px rgba(235,41,133,0.15) !important;
    outline: none;
}
.app-page input::placeholder,
.app-page textarea::placeholder {
    color: #aaa;
    opacity: 1;
}
.app-page select option {
    background: #000;
    color: #fff;
}
.app-page select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23eb2985' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

/* textarea labels (Tell Us More) */
.app-page .txtblack.fw600 {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Row spacing */
.app-page .row.mb20 {
    margin-bottom: 16px;
}

/* Photo upload cards */
.app-page .custom-file-input {
    background: #1a1a1a;
    border: 2px dashed rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.app-page .custom-file-input:hover {
    border-color: #eb2985;
    background: rgba(235,41,133,0.05);
}
.app-page .custom-file-input label {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 4px;
}
.app-page .custom-file-input label::before {
    content: '\f030'; /* Font Awesome camera */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 2em;
    color: #ccc;
    margin-bottom: 10px;
}
.app-page .image-preview {
    border-radius: 8px;
    max-height: 200px;
    object-fit: cover;
}

/* Consent checkbox — matches production custom checkbox pattern */
.app-page .contcheck {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #eee;
    margin-top: 25px;
    line-height: 1.4;
    text-align: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.app-page .contcheck input,
.app-page .contcheck input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}
.app-page .contcheck .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    background: #1a1a1a;
    transition: all 0.2s;
}
.app-page .contcheck:hover input ~ .checkmark {
    border-color: #eb2985;
}
.app-page .contcheck input:checked ~ .checkmark {
    background: linear-gradient(135deg, #eb2985, #a90955);
    border-color: #eb2985;
}
.app-page .contcheck .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.app-page .contcheck input:checked ~ .checkmark:after {
    display: block;
}
.app-page .contcheck a {
    color: #eb2985;
    text-decoration: underline;
}

/* Submit button — brush-stroke pink_btn2 (matching live site) */
.app-page .pink_btn2,
.app-page button.pink_btn2 {
    background: url("../images/btn_pink2.png") no-repeat center center !important;
    background-size: 100% 100% !important;
    color: #fff;
    border: 0 !important;
    padding: 15px 30px !important;
    font-family: "Montserrat", serif !important;
    font-weight: 900 !important;
    font-size: 1em !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 !important;
    cursor: pointer;
    transition: opacity 0.25s ease;
    min-width: 140px;
    display: inline-block;
    text-align: center;
}
.app-page .pink_btn2:hover,
.app-page button.pink_btn2:hover {
    opacity: 0.85;
}
.app-page .pink_btn2:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Error states */
.app-page .VAMErrorText {
    color: #ff4757;
    font-size: 0.8em;
    margin-top: 4px;
}
.app-page #lblGeneralError {
    background: rgba(255,71,87,0.1);
    border: 1px solid rgba(255,71,87,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ff4757;
    margin-bottom: 16px;
}

/* Processing modal override */
.app-page .modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
}
.app-page .modal-body h4 {
    color: #fff;
}

/* Container overflow fix — prevent row negative margins from clipping inputs */
.container.max720.app-page {
    overflow: visible;
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {

    /* Container padding on mobile */
    .container.max720.app-page,
    .container.app-page {
        overflow: visible !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    /* Hero */
    .app-hero { padding: 30px 0 20px; }
    .app-hero h1 { font-size: 1.5em; }

    /* Tab buttons */
    .app-page .tab input[type=button],
    .app-page .tablinks {
        width: 150px;
        height: 49px;
        font-size: 0.9em;
    }

    /* Columns — full width on mobile */
    .app-page .col-2,
    .app-page .col-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 4px;
    }

    /* Row spacing — prevent overflow from negative margins */
    .app-page .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Submit button — same size as desktop */
    .app-page .pink_btn2,
    .app-page button.pink_btn2 {
        width: auto;
        min-height: auto;
    }

}
