/* common.css 또는 각 페이지 CSS 공통 적용 */
html, body {
    height: 100%; /* 전체 높이를 브라우저 높이에 맞춤 */
    margin: 0;
}

body {
    display: flex;
    flex-direction: column; /* 위에서 아래로 정렬 */
}

main {
    flex: 1; /* 남는 모든 공간을 차지하여 푸터를 아래로 밀어냄 */
}

.contact-section { padding: 100px 0; background: #fff; }

.contact-form {
    max-width: 600px;
    margin: 50px auto 0;
}

.form-group { margin-bottom: 20px; }

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #333;
}

.contact-form textarea { height: 150px; resize: vertical; }

#submit-btn {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#submit-btn:hover { background: #555; }
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast {
    position: fixed;
    bottom: -100px; /* 처음에는 화면 아래에 숨김 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    z-index: 11000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast.show {
    bottom: 50px; /* 활성화 시 위로 올라옴 */
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

#toast-icon {
    font-size: 20px;
}

footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    /* 추가적인 스타일들... */
}