/* =========================
   GLOBAL
========================= */

body {
	background: linear-gradient(180deg, #f4f6f9 0%, #eef2f7 100%);
	color: #212529;
	font-size: 0.95rem;
}

.badge {
	white-space: normal !important;
	font-weight: 500;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
    transition: all 0.35s ease;
    padding: 0.9rem 0;
    background: linear-gradient(90deg, #123456, #0d3b66);
}

.custom-navbar.scrolled {
    padding: 0.4rem 0;
    background: #0f2e4d;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.custom-navbar .nav-link {
    position: relative;
    overflow: hidden;
}

.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 100%;
}


/* =========================
   HERO
========================= */

/* HERO PANEL NI AJRATISH */
.hero-panel {
	position: relative;
	background: linear-gradient(135deg, #0b3c5d, #0d6efd);
	color: #ffffff;
	border-radius: 14px;
	padding: 55px 50px;
	box-shadow: 0 18px 40px rgba(13,110,253,0.35);
}

.hero-panel::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 200px;
	height: 200px;
	background: rgba(255,255,255,0.08);
	border-radius: 50%;
}

.hero-panel h1 {
	font-size: 2.1rem;
	font-weight: 700;
}

.hero-panel p {
	font-size: 1.05rem;
	color: #eaf2ff;
	max-width: 720px;
}


/* STATISTIKA KARTALARI */
.container .card {
	border-radius: 14px;
	border: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	transition: all 0.25s ease;
}

.container .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

.container .card-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: #0b3c5d;
}

/* PLATFORMA IMKONIYATLARI */
#xizmatlar .card {
	border: none;
	border-top: 5px solid #0d6efd;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

#xizmatlar .card-title {
	font-weight: 600;
	color: #0b3c5d;
}

#xizmatlar .card-text {
	color: #495057;
	line-height: 1.6;
}


.alert-warning {
	border-left: 6px solid #ffc107;
	border-radius: 12px;
	padding: 22px 26px;
	font-size: 0.95rem;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}



/* =========================
   DOCUMENT / REESTR CARD
========================= */

.document-card {
	border-left: 6px solid #0d6efd;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
	transition: all 0.25s ease;
}

.document-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.document-card .card-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0b3c5d;
}

.document-card .card-text {
	font-size: 0.9rem;
	color: #495057;
}



/* =========================
   DATE / STATUS BADGE
========================= */

.date-badge {
	background-color: #edf6ee;
	color: #1e6b3a;
	font-weight: 500;
	font-size: 0.85rem;
	border: 1px solid #cde5d2;
	padding: 0.35em 0.7em;
	border-radius: 0.4rem;
}

.date-badge i {
	color: #1e6b3a;
}

/* =========================
   PAGINATION
========================= */

.custom-pagination {
	font-size: 0.9rem;
}

.custom-pagination .page-link {
	color: #0b3c5d;
	font-weight: 500;
	border: 1px solid #dee2e6;
	padding: 0.45rem 0.8rem;
	margin: 0 0.15rem;
	border-radius: 6px;
	background-color: #ffffff;
	transition: all 0.2s ease-in-out;
}

.custom-pagination .page-link:hover {
	background-color: #e9ecef;
}

.custom-pagination .page-item.active .page-link {
	background-color: #0d6efd;
	border-color: #0d6efd;
	color: #ffffff;
}

.custom-pagination .page-item.disabled .page-link {
	opacity: 0.6;
	cursor: default;
}

/* =========================
   ALERT / NOTICE
========================= */

.alert-warning {
	border-left: 6px solid #ffc107;
	background-color: #fff8e1;
	color: #664d03;
}



/* =========================
   view.php: plagiat natijasini ko'rish
========================= */
.document-paper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.doc-header {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6c757d;
}

.doc-header i {
    margin-right: 6px;
}

.doc-title {
    font-weight: 700;
    line-height: 1.4;
    color: #212529;
}

.doc-authors {
    font-size: 16px;
    font-style: italic;
    color: #495057;
}

.doc-info {
    margin-top: 30px;
    padding: 20px;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    background: #fdfdfd;
}

.doc-info .col-md-4,
.doc-info .col-md-6 {
    margin-bottom: 10px;
}

.doc-footer {
    font-size: 15px;
    color: #198754;
    font-weight: 600;
}



