/* ===== Bootstrap Override & Custom Styles ===== */

/* Font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

/* Login Page Body */
.login-page {
    margin: 0;
    padding: 0;
}

/* ===== Landing Page ===== */
.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.landing-content {
    text-align: center;
    color: white;
}

.landing-logo {
    font-size: 64px;
    margin-bottom: 16px;
}

.landing-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.landing-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 48px;
}

.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
}

.landing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.landing-btn.admin {
    background: white;
    color: #6366f1;
}

.landing-btn.customer {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.landing-btn.offline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-icon {
    font-size: 20px;
}

/* ===== Login Page ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0;
    margin: 0;
}

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

.login-logo {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 32px;
}

/* Login Form Styles */
.login-form {
    width: 100%;
}

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

.login-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.login-form .form-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.login-form .form-input:hover {
    border-color: #cbd5e1;
}

.login-form .form-input:focus {
    background-color: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-form .form-input::placeholder {
    color: #94a3b8;
}

/* Checkbox Styles */
.login-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.login-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #6366f1;
}

.login-form .checkbox-label span {
    user-select: none;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-full {
    width: 100%;
    margin-top: 8px;
}

/* ===== Customer Pages ===== */
.customer-container {
    min-height: 100vh;
    background: #f8fafc;
}

.customer-header {
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.customer-content {
    padding: 20px;
    padding-bottom: 100px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 576px) {
    .landing-logo {
        font-size: 48px;
    }

    .landing-content h1 {
        font-size: 28px;
    }

    .landing-subtitle {
        font-size: 16px;
    }

    .login-card {
        padding: 24px;
        margin: 16px;
    }
}
