﻿/* site-modern.css - shared for all pages */
:root {
    --brand: #007b5e;
    --accent: #00a174;
    --muted: #6b7280;
    --card-bg: #ffffff;
    --page-bg: linear-gradient(90deg, #007b5e 10%, #ffffff 100%);
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

html {
    background: var(--page-bg);    
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: transparent;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* layout */
.container {
    max-width: 520px;
    margin: 36px auto;
    padding: 16px;
}

.header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 18px;
}

    .header img {
        height: 64px;
    }

    .header .title {
        font-weight: 700;
        font-size: 20px;
        color: var(--brand);
    }

/* card */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(17,24,39,0.08);
    padding: 28px;
    border: 1px solid #edf0f2;
}

    .card h2 {
        margin: 0 0 6px;
        font-size: 20px
    }

    .card p.sub {
        margin: 0 0 18px;
        color: var(--muted);
        font-size: 14px
    }

/* form */
.form-row {
    display: flex;
    gap: 12px
}

.form-group {
    margin-bottom: 14px
}

label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333
}

.input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6d8db;
    border-radius: 8px;
    font-size: 15px;
}

    .input:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(0,149,115,0.08);
        border-color: var(--brand)
    }

.small {
    font-size: 110%;
    color: var(--muted)
}

/* captcha */
.captcha-wrap {
    display: flex;
    align-items: center;
    gap: 12px
}

.captcha-img {
    height: 52px;
    width: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e6e6e6
}

.captcha-refresh {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--brand)
}

/* buttons */
.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    width: 100%
}

.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid #e6f3ee
}

/* OTP input */
.otp-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-input {
    width: 56px;
    height: 56px;
    text-align: center;
    font-size: 20px;
    border-radius: 8px;
    border: 1px solid #d6d8db;
    background: #fafafa;
}

    .otp-input:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(0,149,115,0.08)
    }

/* timer & message */
.timer {
    font-weight: 700;
    color: #c0392b
}

.info {
    background: #f0fff6;
    border-radius: 8px;
    padding: 10px;
    color: #065f3a;
    margin-top: 12px;
    font-size: 14px
}

.button-radio input[type="radio"] {
    display: none;
}

.button-radio label {
    position: relative;
    display: inline-block;
    padding: 10px 30px 10px 10px;
    margin-right: 2px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: #fff;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s;
}

.button-radio input[type="radio"]:checked + label {
    background-color: #007bff;
    color: #fff;
}

    /* ✔ white tick in green circle */
    .button-radio input[type="radio"]:checked + label::after {
        content: "✔";
        color: white;
        background-color: #28a745; /* green circle */
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 6px;
        top: 6px;
        font-size: 12px;
    }



/* responsive */
@media(max-width:560px) {
    .container {
        padding: 12px
    }

    .otp {
        width: 48px;
        height: 48px
    }
}
