/* eZakley Onboarding — Clean professional theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f0;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #1a3a1a;
}

header h1 {
    font-size: 2rem;
    color: #1a3a1a;
    letter-spacing: 0.05em;
}

.subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

.welcome {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.security-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

/* Agreement scroll box */
.agreement-scroll {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 2rem;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.agreement-scroll h1 { font-size: 1.4rem; margin-bottom: 1rem; color: #1a3a1a; }
.agreement-scroll h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; color: #1a3a1a; }
.agreement-scroll p { margin-bottom: 0.75rem; }
.agreement-scroll ul, .agreement-scroll ol { margin: 0.5rem 0 0.75rem 1.5rem; }
.agreement-scroll li { margin-bottom: 0.3rem; }
.agreement-scroll hr { border: none; border-top: 1px solid #ddd; margin: 1.5rem 0; }

/* Form */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group textarea { resize: vertical; }

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: #1a3a1a;
    color: #fff;
    transition: background 0.2s;
}

.btn:hover { background: #2a5a2a; }
.btn:disabled { background: #999; cursor: not-allowed; }
.btn-primary { background: #1a3a1a; }

/* Status boxes */
.success-box {
    background: #f0f7f0;
    border: 1px solid #4a8a4a;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.success-box h2 { color: #1a3a1a; margin-bottom: 0.75rem; }

.error-box {
    background: #fdf0f0;
    border: 1px solid #c44;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.error-box h2 { color: #922; margin-bottom: 0.75rem; }

/* Tables */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.detail-table td, .detail-table th {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.detail-table td:first-child, .detail-table th:first-child {
    font-weight: 600;
    width: 35%;
    color: #555;
}

.upload-history {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.upload-history h3 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 600px) {
    .container { padding: 1rem; }
    .agreement-scroll { max-height: 350px; padding: 1rem; }
    header h1 { font-size: 1.5rem; }
}
