@import url('fonts.css');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #64748b;
    --bg-main: #f1f5f9;
    --sidebar-bg: #1e293b;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Navbar */
.navbar-custom {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(99, 102, 241, 0.4);
}

/* Sidebar & Navigation */
.sidebar-item {
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.sidebar-item:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

.sidebar-item.active {
    background-color: #e0e7ff;
    color: var(--primary);
}

.sidebar-item i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Status Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.status-approved { background-color: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.status-rejected { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* URL Display List */
.url-list-item {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Inputs */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background-color: #fff;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
}

/* Custom Alert */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: var(--card-shadow);
}
