﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #6B3FD4;
    --primary-hover: #5A32B8;
    --primary-light: #F3EEFF;
    /*--primary: #2563EB;
    --primary-hover: #1d4ed8;
    --primary-light: #EFF6FF;*/

    --text-strong: #111827;
    --text-body: #374151;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --bg: #F9FAFB;
    --white: #FFFFFF;
    --error: #DC2626;
    --radius: 10px;
}

html {
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 50px;
    -webkit-font-smoothing: antialiased;

    .center-page {
        min-height:200vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

 li {
    list-style: none;
}

.wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 32px;
    /*background: linear-gradient( 180deg, rgba(15,34,231,0.08), rgba(127,44,222,0.05), rgba(215,52,211,0.03) );*/
    /*border-radius: 10px;*/

    img {
        width: 440px;
    } 
}

    .header h1 {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-strong);
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .header p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.7;
    }

    .headet-top {

    }

/* Card */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}

/* Field */
.field {
    margin-bottom: 20px;
}

    .field label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-strong);
        margin-bottom: 7px;
    }

        .field label .opt {
            font-size: 11.5px;
            font-weight: 400;
            color: var(--text-muted);
            margin-left: 4px;
        }

        .field label .req {
            color: var(--primary);
            margin-left: 2px;
        }

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-strong);
    background: var(--white);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    -webkit-appearance: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

input::placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

/* Error */
.field.has-error input {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.err-msg {
    display: none;
    font-size: 12px;
    color: var(--error);
    margin-top: 5px;
}

.field.has-error .err-msg {
    display: block;
}

.err-agree {
    display: block;
    font-size: 10px;
    color: var(--error);
    margin-top: 6px;
}

/* Time slots */
.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.slot {
    position: relative;
}

    .slot input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slot label {
        border-color: #7f2cde;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 11px 6px;
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        font-size: 13px;
        font-weight: 500;
        /*color: var(--text-muted);*/
        cursor: pointer;
        transition: all 0.15s;
        text-align: center;
        /*background: var(--white);*/
        margin-bottom: 0;
        line-height: 1.4;
    }

        .slot label span {
            font-size: 11px;
            font-weight: 400;
            color: #C0C4CC;
            margin-top: 2px;
        }

    .slot input[type="radio"]:checked + label {
        border-color: var(--primary);
        color: var(--primary);
        background: var(--primary-light);
        font-weight: 600;
    }

        .slot input[type="radio"]:checked + label span {
            color: #93b5f5;
        }

    .slot label:hover {
        border-color: #93C5FD;
        color: var(--text-body);
    }

/* Job category */
select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-strong);
    background: var(--white);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}


/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* Privacy */
.privacy {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
}

.privacy-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 6px;
}

.privacy-body {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    cursor: pointer;
}

    .check-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
        min-width: 16px;
        accent-color: var(--primary);
        cursor: pointer;
    }

    .check-row span {
        font-size: 12.5px;
        color: var(--text-body);
        user-select: none;
    }

        .check-row span b {
            color: var(--primary);
            font-weight: 600;
        }

/* Submit */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0f22e7, #7f2cde, #d734d3);
    box-shadow: 0 8px 20px rgba(127, 44, 222, 0.3);

    /*background: linear-gradient(135deg, #6B3FD4, #E040A0);*/
    /*background: var(--primary);*/
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
    letter-spacing: 0.02em;
}

    .btn-submit:hover {
        background: var(--primary-hover);
    }

    .btn-submit:active {
        transform: scale(0.99);
    }

/* Footer */
.foot-note {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Logo */
.logo-wrap {
    text-align: center;
    margin-top: 20px;
}

    .logo-wrap img {
        width: 200px;
    }

/* Success */
.success-wrap {
    text-align: center;
    padding: 48px 20px 32px;
}

.success-check {
    width: 60px;
    height: 60px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
}

.success-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.success-wrap p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

.success-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-top: 24px;
    text-align: left;
}

.summary-row {
    display: flex;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-row .key {
        color: var(--text-muted);
        min-width: 72px;
        font-size: 12.5px;
    }

    .summary-row .val {
        color: var(--text-strong);
        font-weight: 500;
    }

@media (max-width: 380px) {
    .card {
        padding: 24px 18px;
    }

    .time-grid {
        grid-template-columns: 1fr;
    }
}

.sns_list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;

    li {
        display: inline-flex
    }
}
