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

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

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.login-box h2 {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: normal;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Header */
header {
    background: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #667eea;
    font-size: 1.8rem;
}

.btn-logout {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-logout:hover {
    background: #c82333;
}

/* Tab Navigation */
.tab-nav {
    background: white;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow-x: auto;
}

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

.tab-btn:hover {
    background: #f8f9fa;
    color: #667eea;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

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

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

.tab-content h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

/* How To Section */
.guide-section {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guide-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.video-placeholder {
    background: #f8f9fa;
    border: 2px dashed #667eea;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
}

.video-placeholder p {
    font-size: 1.2rem;
    color: #667eea;
    margin: 10px 0;
}

.placeholder-text {
    font-size: 1rem !important;
    color: #999 !important;
}

/* House Rules */
.rules-list {
    display: grid;
    gap: 20px;
}

.rule-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #667eea;
}

.rule-item h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.rule-item p {
    color: #555;
    line-height: 1.8;
}

/* Rent Payment */
.rent-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.info-box.important {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.info-box h3 {
    color: #721c24;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-box p {
    color: #721c24;
    margin: 0;
}

.rent-info h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.payment-methods {
    list-style: none;
    counter-reset: payment-counter;
}

.payment-methods li {
    counter-increment: payment-counter;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    position: relative;
}

.payment-methods li::before {
    content: counter(payment-counter);
    position: absolute;
    left: -15px;
    top: 15px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.payment-methods li strong {
    color: #667eea;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.payment-detail {
    color: #555;
    font-size: 1rem;
    display: block;
    margin-top: 5px;
}

/* Suggestions */
.suggestion-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.suggestion-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Contact */
.contact-info {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 400px;
}

.contact-card h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #555;
}

.contact-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    .tab-btn {
        font-size: 14px;
        padding: 12px 15px;
    }

    .container {
        padding: 20px 15px;
    }

    .tab-content h2 {
        font-size: 1.5rem;
    }

    .contact-card {
        min-width: auto;
        width: 100%;
    }

    .payment-methods li {
        padding-left: 25px;
    }

    .video-placeholder {
        padding: 40px 20px;
    }
}
