/* -------------------------------
   TELKOMSEL CREATE FORM STYLES
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Font Face */
@font-face {
    font-family: 'TelkomselBatikSans';
    src: url('/fonts/telkomsel/TelkomselBatikSans-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'TelkomselBatikSans';
    src: url('/fonts/telkomsel/TelkomselBatikSans-Bold.ttf') format('truetype');
    font-weight: bold;
}

/* Variables */
:root {
    --tc-red: #ff0025;
    --tc-navy: #001a41;
    --tc-navy-dark: #000f27;
    --tc-gray: #f1f1f1;
    --tc-white: #ffffff;
    --tc-text: #333;
    --tc-shadow: rgba(0, 0, 0, 0.08);
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* Body */
body {
    font-family: 'Poppins', 'TelkomselBatikSans', sans-serif;
    background: linear-gradient(135deg, var(--tc-red) 0%, var(--tc-navy) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

/* Card */
.card {
    border-radius: var(--radius-lg);
    background-color: var(--tc-white);
    box-shadow: 0 6px 25px var(--tc-shadow);
    max-width: 1100px;
    width: 100%;
    padding: 40px;
}

/* Logo */
.logo {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto 10px auto;
}

/* Title */
.form-title {
    font-family: 'TelkomselBatikSans', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--tc-navy);
    border-bottom: 3px solid var(--tc-red);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

/* Subtitle */
.section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tc-navy);
    margin: 20px 0 15px;
    padding-left: 10px;
    border-left: 5px solid var(--tc-red);
}

/* Input */
.form-control {
    border-radius: var(--radius-md);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--tc-red);
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 37, 0.2);
}

/* Buttons */
.btn-telkomsel {
    background-color: var(--tc-red);
    color: var(--tc-white);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: 0.3s;
    padding: 12px 20px;
    border: none;
}

.btn-telkomsel:hover {
    background-color: #cc0020;
}

.btn-login {
    background-color: var(--tc-navy);
    color: var(--tc-white);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    text-align: center;
    display: inline-block;
    border: none;
}

.btn-login:hover {
    background-color: var(--tc-navy-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .form-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .logo {
        max-height: 60px;
    }
}


/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablet (iPad dsb.) */
@media (max-width: 992px) {
    .card {
        padding: 30px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .logo {
        max-height: 70px;
    }

    .btn-telkomsel, .btn-login {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

/* Mobile (HP) */
@media (max-width: 576px) {
    body {
        padding: 15px;
        align-items: flex-start;
    }

    .container {
        padding: 0;
    }

    .card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin: 15px 0 10px;
        padding-left: 8px;
        border-left: 4px solid var(--tc-red);
    }

    .form-control {
        font-size: 0.9rem;
        padding: 10px;
    }

    .btn-telkomsel, .btn-login {
        width: 100%;          /* full width */
        padding: 12px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .logo {
        max-height: 50px;
        margin-bottom: 8px;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }
}
