body {
    font-family: Arial, sans-serif;
    background-color: green;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

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

input[type="text"],
input[type="email"], /* email 타입 추가 */
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 5px; /* label과 간격 */
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.consultation-heading {
    color: green;
    background-color: green; /* Changed from gray to green */
    padding: 10px; /* Add some padding for better visual */
    border-radius: 5px; /* Slightly round the corners */
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    cursor: pointer;
    position: absolute;
    transition: 0.4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Dark Mode */
body.dark-theme {
    background-color: #333;
    color: #eee;
}

body.dark-theme .container {
    background-color: #555;
    color: #eee;
}

body.dark-theme h1 {
    color: #eee;
}

body.dark-theme h2 { /* 새로 추가된 h2 스타일 */
    color: #eee;
}

body.dark-theme .form-group label {
    color: #eee;
}

body.dark-theme input[type="text"],
body.dark-theme input[type="email"], /* email 타입 추가 */
body.dark-theme textarea { /* textarea 스타일 */
    background-color: #666;
    color: #eee;
    border: 1px solid #777;
}

body.dark-theme button {
    background-color: #0056b3;
}

body.dark-theme .consultation-heading {
    color: #eee; /* 다크 모드에서는 글자색을 밝게 */
    background-color: #222; /* 다크 모드에서는 배경색을 어둡게 */
}