/* =====================================================
   APPLICATION PAGE — CLUB CERTIFICATE STYLE
   ===================================================== */

#application {
    max-width: 900px;
    margin: 40px auto 60px;
    padding: 36px 28px;

    /* Cream certificate paper */
    background: #f4efe3;

    /* Elegant border */
    border: 2px solid #caa85a;
    border-radius: 6px;

    /* Soft paper depth */
    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        inset 0 0 40px rgba(0,0,0,0.06);

    color: #1a1a1a;
}


/* =====================================================
   HEADER TEXT (inside application)
   ===================================================== */

#application h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 18px;

    color: #6b5328;

    letter-spacing: 0.5px;
}


/* Decorative divider under title */
#application h2::after {
    content: "";
    display: block;
    width: 160px;
    height: 2px;
    margin: 12px auto 0;

    background: linear-gradient(
        to right,
        transparent,
        #caa85a,
        transparent
    );
}


/* =====================================================
   FORM LAYOUT
   ===================================================== */

#application form {
    margin-top: 24px;
}


/* Labels */
#application label {
    display: block;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 6px;

    color: #3e3422;
}


/* Inputs + textareas */
#application input,
#application textarea {
    width: 100%;
    padding: 10px 12px;

    border: 1px solid #bda56b;
    border-radius: 4px;

    font-size: 15px;
    font-family: Georgia, "Times New Roman", serif;

    background: #fffdf7;
}


/* Textarea sizing */
#application textarea {
    min-height: 80px;
    resize: vertical;
}


/* =====================================================
   SIGNATURE LINE STYLE
   ===================================================== */

.signature-line {
    margin-top: 28px;
    padding-top: 8px;

    border-top: 1px solid #6b5328;

    font-style: italic;
    color: #3a3a3a;
}


/* =====================================================
   SUBMIT BUTTON — CERTIFICATE STYLE
   ===================================================== */

#application button.apply-btn {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 14px;

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;

    color: #1a1a1a;

    background: linear-gradient(
        to bottom,
        #e6d3a3,
        #caa85a
    );

    border: 1px solid #8c6f35;
    border-radius: 4px;

    cursor: pointer;

    transition: all 0.2s ease;
}


/* Hover effect */
#application button.apply-btn:hover {
    background: linear-gradient(
        to bottom,
        #f2e3bd,
        #d8b76c
    );

    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


/* =====================================================
   SUCCESS / ERROR MESSAGES
   ===================================================== */

#application .success {
    color: #2e6b2e;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

#application .error {
    color: #a94442;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}


/* =====================================================
   MOBILE TUNING
   ===================================================== */

@media (max-width: 768px) {

    #application {
        margin: 20px 12px 40px;
        padding: 24px 18px;
    }

    #application h2 {
        font-size: 24px;
    }

    #application input,
    #application textarea {
        font-size: 16px;
    }
}