/**
 * user.css - Common styles for user-facing pages
 * Fukuoka Growth Night in Tokyo - Startup Matching System
 */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    min-height: 100vh;
}

/* Header */
.header {
    background: #0a0a0a;
    color: #fff;
    padding: 1.5rem 2rem;
}

.header-inner {
    max-width: 60rem;
    margin: 0 auto;
}

.header h1 {
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-title-event {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.header-title-main {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.header-title-sub {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.header-title-service {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.6;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Step Indicator */
.step-indicator {
    background: #f5f5f5;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.step-indicator-inner {
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: #0a0a0a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.step-text-en {
    font-size: 0.8rem;
    color: #888;
}

/* Container */
.container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 2rem;
}

/* Card */
.card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Page Title */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.25rem;
}

.page-title-en {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Description */
.description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.description-en {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Error */
.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.form-label .en {
    font-weight: 400;
    color: #888;
    font-size: 0.85rem;
}

.form-label .required {
    color: #e63946;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 0.375rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #0a0a0a;
}

.form-input::placeholder {
    color: #aaa;
}

.form-help {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.375rem;
}

textarea.form-input {
    min-height: 8rem;
    resize: vertical;
}

/* English text helper */
.en {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

/* Privacy Section */
.privacy-section {
    background: #f9fafb;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.privacy-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.privacy-text-en {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.privacy-link {
    color: #0a0a0a;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #e63946;
}

/* Checkbox */
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.checkbox-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: #e63946;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-item label .en {
    display: block;
    margin-top: 0.25rem;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border: 2px solid #0a0a0a;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    gap: 1rem;
}

.btn-primary {
    background: #0a0a0a;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #fff;
    color: #0a0a0a;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text-en {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.btn-arrow {
    font-size: 1.25rem;
    font-weight: 400;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Info Box */
.info-box {
    background: #f5f5f5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.info-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 1rem;
}

.info-box-title-en {
    font-weight: 400;
    color: #888;
    font-size: 0.9rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.info-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #0a0a0a;
    border-radius: 50%;
}

.info-box li .en {
    display: block;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 48rem) {
    .header {
        padding: 1.25rem 1.5rem;
    }

    .header h1 {
        flex-direction: column;
        gap: 0.25rem;
    }

    .header-title-service {
        border-left: none;
        padding-left: 0;
    }

    .step-indicator {
        padding: 0.875rem 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-secondary {
        order: 1;
    }
}

@media (max-width: 37.5rem) {
    .header {
        padding: 1rem;
    }

    .header-title-main {
        font-size: 1.125rem;
    }

    .step-indicator {
        padding: 0.75rem 1rem;
    }

    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }

    .step-text {
        font-size: 0.875rem;
    }

    .container {
        padding: 1rem 0.75rem;
    }

    .card {
        padding: 1.25rem;
        border-radius: 0.375rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .form-input {
        padding: 0.625rem 0.875rem;
        font-size: 1rem;
    }

    .privacy-section {
        padding: 1rem;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}
