/* Hotel Planisphere CSS */

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.restaurant-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.restaurant-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.restaurant-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.restaurant-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.restaurant-nav a:hover {
    color: #3498db;
}

.user-info {
    font-size: 0.9rem;
    color: #ecf0f1;
}

/* Main content */
.restaurant-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.btn-hero:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.btn-hero-outline {
    background: transparent;
}

.btn-hero-outline:hover {
    background: white;
    color: #667eea;
}

/* Features section */
.features-section {
    padding: 3rem 0;
    background: white;
    margin-bottom: 2rem;
}

.features-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Test accounts section */
.test-accounts-section {
    padding: 3rem 0;
    background: white;
    margin-bottom: 2rem;
}

.test-accounts-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.test-accounts-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.accounts-table {
    overflow-x: auto;
}

.accounts-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accounts-table th,
.accounts-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.accounts-table th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
}

.accounts-table tr:nth-child(even) {
    background: #f8f9fa;
}

.btn-quick {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-quick:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Test scenarios section */
.test-scenarios-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.test-scenarios-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.scenario-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.scenario-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.scenario-item ol {
    padding-left: 1.5rem;
}

.scenario-item li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

/* Form styles */
.login-section,
.register-section {
    padding: 2rem 0;
}

.login-card,
.register-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.register-card {
    max-width: 800px;
}

.login-card h2,
.register-card h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.login-card p,
.register-card p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-login,
.btn-register,
.btn-reset {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-login,
.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-login:hover,
.btn-register:hover,
.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.result-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.result-message.show {
    display: block;
}

.login-links,
.register-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.login-links a,
.register-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.login-links a:hover,
.register-links a:hover {
    text-decoration: underline;
}

/* Test help section */
.test-help-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem;
}

.test-help-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.help-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.test-accounts,
.test-scenarios,
.validation-rules,
.test-data,
.plan-features,
.form-features,
.page-features {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.test-accounts h4,
.test-scenarios h4,
.validation-rules h4,
.test-data h4,
.plan-features h4,
.form-features h4,
.page-features h4 {
    color: #667eea;
    margin-bottom: 1rem;
}

.test-accounts ul,
.test-scenarios ul,
.validation-rules ul,
.test-data ul,
.plan-features ul,
.form-features ul,
.page-features ul {
    padding-left: 1.5rem;
}

.test-accounts li,
.test-scenarios li,
.validation-rules li,
.test-data li,
.plan-features li,
.form-features li,
.page-features li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.restaurant-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.restaurant-footer a {
    color: #3498db;
    text-decoration: none;
}

.restaurant-footer a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .restaurant-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .accounts-table {
        font-size: 0.9rem;
    }
}