.page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    background-color: #f5f5f5;
    position: relative;
}

.image-container {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.signup-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    z-index: 1;
    position: relative;
    transform: translateY(-350px);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-group .google-icon {
    position: absolute;
    right: 10px;
    font-size: 18px;
    color: #db4437;
    cursor: pointer;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group select,
.phone-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.phone-group select {
    width: 100px;
}

.phone-group input {
    flex-grow: 1;
}

.phone-group button {
    padding: 12px 16px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.phone-group button:disabled {
    background-color: #bbb;
    cursor: not-allowed;
}

.phone-group button:hover:enabled {
    background-color: #138d75;
}

.signup-button {
    padding: 12px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 18px;
    text-align: center;
}

.signup-button:disabled {
    background-color: #bbb;
    cursor: not-allowed;
}

.signup-button:hover:enabled {
    background-color: #138d75;
}

.error-message {
    color: red;
    font-size: 14px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* 버튼 그룹을 가로로 배치하고 간격을 추가 */
.input-group.button-group {
    display: flex;
    gap: 10px;
    /* 버튼 사이의 간격 */
    width: 100%;
    justify-content: space-between;
}

.email-button {
    flex-grow: 1;
    padding: 10px;
    border: none;
    background-color: #16a085;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.email-button:disabled {
    background-color: #bbb;
    cursor: not-allowed;
}

.email-button:hover:enabled {
    background-color: #138d75;
}