.layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    position: unset;
    background-color: #000;
}

.layout-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 500px;
}

.layout-content h1 {
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
    font-size: var(--fs-small);
}

.action__buttons {
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actions .button {
    flex: 1;
}

/* 인풋+버튼 가로 배치 */
.inline-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap; /* 래퍼에서 줄바꿈 금지 */
}

/* 인풋은 남는 공간 채움 */
.inline-field > input {
    flex: 1 1 auto;
    min-width: 0;
}

/* 버튼은 내용대로 폭, 줄바꿈 금지 */
.inline-field > .button,
.btn-nowrap {
    white-space: nowrap;
    padding: 8px;
}

/* 버튼 내부에 span 등 감싸는 구조가 있다면 같이 방지 */
.inline-field > .button * {
    white-space: nowrap;
}