@charset "UTF-8";

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

/* 제목 및 부제 */
.top-utility {
    text-align: right;
    margin-bottom: 3rem;
}

.admin-link {
    font-size: 0.9em;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.admin-link:hover {
    color: #c0392b;
    /* background-color: #fdf2f2; */
}

.divider {
    margin: 0 10px;
    color: #ccc;
}

.main-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
}

.subtitle {
    font-size: 1em;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* 로그인 링크 스타일 */
.login-link {
    font-size: 0.9em;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.login-link:hover {
    color: #2980b9;
    /* background-color: #ecf0f1; */
}

/* 폼 컨테이너 */
.selection-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.select-wrapper {
    text-align: left;
}

.select-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

/* 드롭다운 스타일 */
.styled-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    appearance: none; /* 기본 화살표 제거 */
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M7 10l5 5 5-5H7z" fill="%237f8c8d"/></svg>') no-repeat right 15px center;
    background-size: 24px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.styled-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.styled-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #aaa;
}

/* 다음 버튼 스타일 */
.next-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #3498db;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.next-button:hover:not(:disabled) {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.next-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}

/* 반응형 디자인
================================================== */
@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    .main-title {
        font-size: 2em;
    }
    .login-link {
        font-size: 0.8em;
        padding: 3px 6px;
    }
    .styled-select, .next-button {
        font-size: 1em;
    }
}