::-webkit-scrollbar { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; outline: none !important; }
*:focus, *:focus-visible, *:active { outline: none !important; box-shadow: none !important; }

body {
    background: #ffffff;
    color: #4B4B4B;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: -0.2px;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.overflow-y-scroll {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.status-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    font-weight: 500;
    border-radius: 6px;
}

.status-ready {
    background: rgba(16,185,129,0.15);
    color: #047857;
    border: 1px solid rgba(16,185,129,0.3);
}

.content-type-badge {
    font-size: 0.80rem;
    padding: 3px 8px;
    background: rgba(51,51,51,0.05);
    color: #333;
    font-weight: 500;
    border-radius: 6px;
}

.response-media-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.code-block {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    border-radius: 8px;
}

.slide-up { animation: slideUp 0.5s ease-out; }
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fade-in { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    padding: 14px 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    max-width: 350px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68,-0.55,0.27,1.55);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.loader {
    width: 42px;
    height: 42px;
    border: 3px solid #e5e7eb;
    border-top-color: #333;
    animation: spin 1s linear infinite;
    border-radius: 50%;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

input[type="file"] {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

input[type="file"]::file-selector-button {
    margin-right: 8px;
    padding: 6px 16px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
}

input[type="file"]::file-selector-button:hover {
    background: #e5e7eb;
}

select {
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E") no-repeat right 0.75rem center/10px;
    padding-right: 2.5rem !important;
    border-radius: 8px !important;
}

.endpoint-expand {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
}

.endpoint-expand.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

.api-item {
    transition: all 0.2s ease-in-out;
    border-radius: 12px;
}

.api-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.sidebar-item {
    border-radius: 10px;
    transition: all 0.15s;
    cursor: pointer;
}

.sidebar-item.active {
    background: #f1f5f9;
    font-weight: 500;
}

.sidebar-item:hover:not(.active) {
    background: #f8fafc;
}

.mobile-sidebar-overlay {
    display: none;
}

#mobileMenuToggle:checked ~ .mobile-sidebar-overlay {
    display: block;
}

#mobileMenuToggle:checked ~ .fixed-sidebar {
    transform: translateX(0);
}

.fixed-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .fixed-sidebar {
        transform: translateX(0);
    }
}

.btn-dark-custom {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 0.85rem;
}

.btn-dark-custom:hover {
    background-color: #222;
    transform: translateY(-1px);
}

.form-control-custom {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.form-control-custom:focus {
    outline: 3px solid #333;
    border-color: #333;
}

.badge-dark-custom {
    background-color: #333;
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 100px;
}

.api-item-content {
    padding: 20px 25px;
    background-color: #F8F9FA;
    border-radius: 10px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.stat-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

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

.version-badge {
    background-color: #333;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 9999px;
}

.search-wrapper {
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e293b;
}

.dashboard-stat-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #64748b;
}

.dashboard-stat-value {
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
}

.popular-item-title {
    font-weight: 500;
    color: #0f172a;
}

.popular-item-method {
    font-size: 0.7rem;
    background-color: #e2e8f0;
    padding: 2px 8px;
    border-radius: 12px;
}

.navbar-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e293b;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-avatar:hover {
    border-color: #333;
    transform: scale(1.05);
}

.info-card {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1rem;
}

.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
}

.page-404 h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-404 p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.page-404 a {
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-404 a:hover {
    background: #222;
    transform: translateY(-2px);
}
