
html {
    height: 100%;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow-y: auto; /* 스크롤 가능하게 */
}

.container {
    background: white;
    padding: 2.5rem;
    margin: auto 0px; /* 좌우만 auto, 위아래는 body에서 보장 */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 720px;
}


/* 작은 화면에 대한 추가 스타일 (선택 사항) */
@media (max-width: 600px) {
    .container {
        width: calc(100% - 40px); /* 좌우 margin 값만큼 width 조정 */
        padding: 1.5rem; /* 작은 화면에서 padding 값 줄임 (선택 사항) */
        margin: 15px; /* 작은 화면에서 margin 값 줄임 (선택 사항) */
    }
}
h1 {
    color: #222;
    margin-bottom: 0.5rem;
}

p {
    color: #555;
    line-height: 1.6;
}

/* --- URL 입력창 --- */
.input-wrapper {
    position: relative;
    margin-top: 1.5rem;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 15px; /* 오른쪽 버튼 공간 확보 */
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-wrapper button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 4px;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 40px;
    padding: 0;
}

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

.error {
    color: #d9534f;
    margin-top: 1rem;
    text-align: left;
}

/* --- 소유 확인 페이지 --- */
.site-url-display {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2rem;
}

.verification-reason {
    color: #666;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
/* ▲▲▲▲▲ 추가된 스타일 ▲▲▲▲▲ */


.site-url-display {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2rem;
}

.meta-tag-box {
    background-color: #f8f9fa;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-top: 1rem;
}

.meta-tag-box code {
    display: block;
    background: #e9ecef;
    padding: 0.8rem;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    word-break: break-all;
    margin-top: 0.5rem;
}

.copy-button {
    margin-top: 1rem;
    padding: 8px 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button:hover {
    background-color: #5a6268;
}

.verify-button {
    width: 100%;
    padding: 12px;
    margin-top: 2rem;
    border: none;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

.verify-button:hover {
    background-color: #218838;
}

.settings-content {
    text-align: left;
    margin-top: 2rem;
}

.settings-content h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.status-message {
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
}

.logout-btn {
    text-decoration: none;
    background-color: #6c757d;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 15px;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background-color: #5a6268;
}

.sites-list {
    width: 100%;
}

.site-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.site-item .site-url-display {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.btn-primary {
    background-color:#545ea5 !important;
    color:#fff !important;
    padding:5px 15px;
    border:none;
    border-radius:5px;
    cursor:pointer
}
.btn-primary:hover{background-color:#161e55 !important }
.btn-primary:disabled{background-color:#ccc !important}