/* ����;b(CSS */
body {
    font-family: sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    line-height: 1.6;
}
.container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.email {
    background-color: #f8f9fa;
    padding: 10px;
    border-left: 4px solid #007bff;
    margin: 20px 0;
}
/* ���� */
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* թ�� */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="email"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

select {
    background-color: white;
}

/* ܿ� */
button {
    color: #fff;
    background-color: #296ac3;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    border: none;
}

button:active {
    transform: translateY(1px);
}

/* ����û�� */
.error {
    color: red;
    margin-top: 5px;
    font-size: 14px;
}

/* ��;b */
.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success h1 {
    color: #155724;
    margin-bottom: 15px;
}

.success p {
    margin-bottom: 10px;
}

/* �� */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* ����Ƕ�� */
@media (max-width: 768px) {
    body {
        margin: 20px auto;
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    input[type="email"],
    button {
        font-size: 14px;
    }

    .success {
        padding: 15px;
    }
}

/* թ���h:n9� */
input:focus,
button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* !�U�_ܿ� */
button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

button:disabled:hover {
    background-color: #6c757d;
}

/* ������� */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group,
.success {
    animation: fadeIn 0.3s ease-out;
}

.note {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.input_required {
    background-color: #ff6200;
    font-size: 10px;
    padding: 3px;
    color: #fff;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: 2px;
}

.label_policy {
    display: inline;
}