/* Header Logo Styles */
.header-logo {
    height: 48px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .header-logo {
        height: 36px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 30px;
        margin-right: 8px;
    }
}

/* Endpoint Card Styles */
.endpoint-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.endpoint-card:hover {
    border-color: #3498db;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.endpoint-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    border-bottom: 1px solid #dee2e6;
}

.endpoint-body {
    padding: 25px;
}

/* HTTP Method Badges */
.method {
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.method.get {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.method.post {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.method.put {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.method.delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

/* Path Styles */
.path {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
    background: rgba(52, 73, 94, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    flex-grow: 1;
    min-width: 200px;
}

/* Description Styles */
.description {
    color: #7f8c8d;
    font-style: italic;
    flex-grow: 2;
    min-width: 150px;
}

/* Authentication Required Badges */
.auth-required {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-required.firebase {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.auth-required.api {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: #f8f9fa;
}

.form-group textarea {
    min-height: 80px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

.form-group input[type="file"] {
    padding: 10px;
    background: #f8f9fa;
    border-style: dashed;
    border-width: 2px;
    border-color: #dee2e6;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.form-group input[type="file"]:focus {
    border-color: #3498db;
    border-style: solid;
}

/* Button Styles */
.test-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.test-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.test-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.test-btn i {
    font-size: 12px;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-indicator.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-indicator.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-indicator.warning {
    background: rgba(241, 196, 15, 0.1);
    color: #d68910;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.status-indicator.info {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* Response Status Styles */
.response-status {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(52, 73, 94, 0.1);
}

.response-status.success {
    background: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
}

.response-status.error {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}

.response-status.warning {
    background: rgba(241, 196, 15, 0.1);
    border-left: 4px solid #f1c40f;
}

.status-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 50px;
    text-align: center;
}

.status-code.success {
    background: #2ecc71;
    color: white;
}

.status-code.error {
    background: #e74c3c;
    color: white;
}

.status-code.warning {
    background: #f1c40f;
    color: #2c3e50;
}

.status-text {
    font-weight: 600;
    color: #2c3e50;
}

.response-time {
    margin-left: auto;
    color: #7f8c8d;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* JSON Syntax Highlighting */
.json-key {
    color: #e74c3c;
    font-weight: 600;
}

.json-string {
    color: #2ecc71;
}

.json-number {
    color: #3498db;
}

.json-boolean {
    color: #9b59b6;
    font-weight: 600;
}

.json-null {
    color: #95a5a6;
    font-weight: 600;
}

/* Collapsible Sections */
.collapsible-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 15px;
    user-select: none;
}

.collapsible-header:hover {
    color: #3498db;
}

.collapsible-icon {
    transition: transform 0.3s ease;
    color: #7f8c8d;
}

.collapsible-header.active .collapsible-icon {
    transform: rotate(90deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content.active {
    max-height: 1000px;
}

/* Helper Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(39, 174, 96, 0.9));
    color: white;
    border-left: 4px solid #27ae60;
}

.notification.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));
    color: white;
    border-left: 4px solid #c0392b;
}

.notification.warning {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.9), rgba(214, 137, 16, 0.9));
    color: #2c3e50;
    border-left: 4px solid #d68910;
}

.notification.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.9));
    color: white;
    border-left: 4px solid #2980b9;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-icon {
    font-size: 18px;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-message {
    font-size: 13px;
    opacity: 0.9;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}