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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f1419;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar */
nav {
    background: #1a1f2e;
    border-bottom: 1px solid #2d3748;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #f97316;
    text-decoration: none;
}

.navbar-logo svg {
    width: 24px;
    height: 24px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar-menu a {
    color: #b0b8cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: #f97316;
}

.navbar-menu a.active {
    color: #f97316;
    border-bottom: 2px solid #f97316;
    padding-bottom: 18px;
}

.login-link {
    padding: 6px 14px !important;
    background: #f97316;
    color: #0f1419 !important;
    border-radius: 4px;
    border: none;
    border-bottom: none !important;
    padding-bottom: 6px !important;
    transition: background 0.3s;
}

.login-link:hover {
    background: #ea580c;
    color: #ffffff !important;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon svg {
    width: 50px;
    height: 50px;
    fill: #f97316;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero p {
    font-size: 18px;
    color: #b0b8cc;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: #1a1f2e;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #3d4866;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #2d3748;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: #f97316;
}

.feature-card h3 {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.feature-card p {
    color: #b0b8cc;
    font-size: 14px;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    background: #1a1f2e;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.info-section h2 {
    font-size: 28px;
    color: #f97316;
    margin-bottom: 15px;
}

.info-section p {
    color: #c0c8dc;
    margin-bottom: 20px;
}

.info-section a {
    color: #f97316;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

/* Code Example */
.code-example {
    margin-top: 20px;
}

.code-header {
    background: #2d3748;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    color: #b0b8cc;
    font-size: 13px;
    font-weight: 600;
}

.code-example pre {
    background: #0f1419;
    border: 1px solid #2d3748;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 0;
}

.code-example code {
    font-family: 'Monaco', 'Menlo', monospace;
    color: #7ec699;
    font-size: 13px;
    line-height: 1.6;
}

/* Login Page */
.login-page {
    display: flex;
    flex-direction: column;
}

.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: #1a1f2e;
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon svg {
    width: 36px;
    height: 36px;
    fill: #f97316;
}

.login-header h1 {
    font-size: 28px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.login-header p {
    color: #707c8c;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #b0b8cc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    background: #0f1419;
    border: 1px solid #2d3748;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.1);
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #505968;
}

/* Checkbox */
.form-group.checkbox {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background: #0f1419;
    border: 1px solid #2d3748;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #f97316;
}

.form-group.checkbox label {
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #f97316;
    color: #0f1419;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Error Message */
.error-message {
    background: #3d2626;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #5a3333;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

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

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

.login-footer p {
    color: #707c8c;
    font-size: 13px;
}

.login-footer a {
    color: #f97316;
    text-decoration: none;
}

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

/* API Documentation Styles */
.doc-header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #2d3748;
    margin-bottom: 40px;
}

.doc-header h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.doc-header p {
    font-size: 16px;
    color: #b0b8cc;
}

.doc-section {
    background: #1a1f2e;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.doc-section h2 {
    font-size: 26px;
    color: #f97316;
    margin-bottom: 15px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 10px;
}

.doc-section h3 {
    font-size: 18px;
    color: #b0b8cc;
    margin-top: 20px;
    margin-bottom: 10px;
}

.doc-section p {
    color: #c0c8dc;
    margin-bottom: 15px;
}

.doc-section ul {
    color: #c0c8dc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.doc-section li {
    margin-bottom: 8px;
}

/* Endpoint */
.endpoint {
    background: #0f1419;
    border: 1px solid #2d3748;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.method.get {
    background: #1a3a2a;
    color: #51cf66;
}

.method.post {
    background: #3a2a1a;
    color: #f97316;
}

.path {
    color: #e0e0e0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
}

/* Code Block */
.code-block {
    background: #0f1419;
    border: 1px solid #2d3748;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #7ec699;
    font-size: 13px;
    overflow-x: auto;
    line-height: 1.6;
    white-space: pre;
}

.response-success {
    border-left: 3px solid #51cf66;
}

.response-error {
    border-left: 3px solid #ff6b6b;
}

/* Parameters Table */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.params-table th,
.params-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2d3748;
}

.params-table th {
    background: #0f1419;
    color: #f97316;
    font-weight: 600;
}

.params-table td {
    color: #c0c8dc;
}

.params-table code {
    background: #0f1419;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #7ec699;
    font-size: 12px;
}

/* Status Indicators */
.status-success {
    color: #51cf66;
    font-weight: 600;
}

.status-error {
    color: #ff6b6b;
    font-weight: 600;
}

/* Footer */
footer {
    background: #1a1f2e;
    border-top: 1px solid #2d3748;
    padding: 20px;
    text-align: center;
    color: #707c8c;
    font-size: 14px;
    margin-top: 60px;
}
