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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-home:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tabs {
    display: flex;
    background: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e8e8e8;
    color: #333;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.info-card h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.info-display {
    line-height: 1.8;
}

.info-display .info-item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.info-display .info-item:last-child {
    border-bottom: none;
}

.info-display .info-label {
    font-weight: 600;
    color: #555;
    min-width: 200px;
}

.info-display .info-value {
    color: #333;
    flex: 1;
    text-align: right;
}

.loading, .empty {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}

.update-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.form-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    animation: slideIn 0.3s;
}

.notification.show {
    display: block;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.history-list {
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.history-item .history-date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.history-item .history-changes {
    color: #666;
    font-size: 0.9em;
}

/* Guide Styles */
.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-intro {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    padding: 15px;
    background: #f0f8ff;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

.guide-step {
    display: flex;
    margin-bottom: 40px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 20px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.step-content h4 {
    color: #764ba2;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.step-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.step-content ul li {
    margin-bottom: 8px;
    color: #555;
}

.step-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
    font-size: 0.9em;
}

.guide-note, .guide-tip, .guide-warning, .guide-success {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid;
}

.guide-note {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.guide-tip {
    background: #f1f8e9;
    border-color: #8bc34a;
    color: #558b2f;
}

.guide-warning {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.guide-success {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.guide-form-help {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.guide-method {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px solid #e0e0e0;
}

.guide-method h4 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 15px;
}

.guide-section {
    margin: 40px 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
}

.guide-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.guide-faq {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.guide-faq h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.guide-faq p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    header h1 {
        font-size: 1.8em;
    }

    .guide-step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

