body {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.sidebar {
    min-height: 100vh;
    background-color: #e9ecef;
    color: white;
    padding-top: 20px;
}

.sidebar a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 5px;
}

.sidebar a:hover {
    background-color: #ac0b0b;
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.metric-icon {
    font-size: 2rem;
}

.top-card {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
     background-color: #0c0b0b; 
    /* light gray */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* Icon larger */

.top-card .metric-icon {
    font-size: 20px;
    /* increased size */
    margin-bottom: 0px;
    color: #ffffff;
    /* red shade */
}


/* Text smaller */

.top-card span {
    font-size: 12px;
    font-weight: 500;
    display: block;
}

.top-card h6 {
    font-size: 12px;
    margin: 0;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
}


/***************login*****************/

section {
    min-height: 100vh;
    /* full height */
    display: flex;
    justify-content: center;
    /* center horizontally */
    align-items: flex-end;
}

.profile-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

h3.section-title {
    border-bottom: 2px solid #b3171f;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-control:focus {
    border-color: #b3171f;
    box-shadow: 0 0 5px rgba(179, 23, 31, 0.5);
}

.btn-primary {
    background-color: #b3171f;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #910e17;
    transform: scale(1.05);
}

.delete-btn {
    background-color: #ff4c4c;
    border: none;
}

.delete-btn:hover {
    background-color: #e03636;
    transform: scale(1.05);
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*******************POSTS*****************/

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.status-badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35em 0.75em;
    border-radius: 0.5rem;
}

.status-pending {
    background-color: #ffc107;
    color: #212529;
}

.status-approved {
    background-color: #28a745;
    color: #fff;
}

.action-btn {
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.1);
}

.post-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.25rem;
    background-color: #e9ecef;
}

.table th,
.table td {
    vertical-align: middle;
}

.filter-row select,
.filter-row input {
    max-width: 200px;
}

.create-btn {
    transition: background-color 0.3s ease;
}

.create-btn:hover {
    background-color: #198754;
}


/************************forget***************/


/* Section background */

.reset-section {
    min-height: 100vh;
}


/* Input focus */

.form-control:focus {
    border-color: #d62c34;
    box-shadow: 0 0 0 0.25rem rgba(214, 44, 52, 0.25);
}


/* Custom button */

.btn-custom {
    background: linear-gradient(135deg, #d62c34, #ff6f61);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(214, 44, 52, 0.4);
}

.btn-custom:active {
    transform: scale(0.97);
}


/********************ragister*************************/

.register-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-card .card-header {
    background: #fff;
    border-bottom: none;
    text-align: center;
    padding: 1rem 0;
}

.register-card .form-control {
    border-radius: 50px;
    padding-left: 45px;
    transition: all 0.3s ease;
}

.register-card .form-control:focus {
    border-color: #d62c34;
    box-shadow: 0 0 8px rgba(214, 44, 52, 0.3);
}

.input-group-text {
    border-radius: 50px 0 0 50px;
    background: #fff;
    border: none;
    color: #d62c34;
    font-size: 1.2rem;
}

.btn-custom {
    background: linear-gradient(135deg, #d62c34, #ff6f61);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(214, 44, 52, 0.4);
}

.btn-custom:active {
    transform: scale(0.97);
}

.card-footer {
    background: #fff;
    border-top: none;
    text-align: center;
}

.card-footer a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.card-footer a:hover {
    color: #d62c34;
}






/*********forget******/


/* Section background */


.reset-section {
    min-height: 100vh;
}


/* Input focus */

.card .form-control:focus {
    border-color: #d62c34;
    box-shadow: 0 0 0 0.25rem rgba(214, 44, 52, 0.25);
}


/* Custom button */

.btn-custom {
    background: linear-gradient(135deg, #d62c34, #ff6f61);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(214, 44, 52, 0.4);
}

.btn-custom:active {
    transform: scale(0.97);
}


/*******ragister********/

.register-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-card .card-header {
    background: #fff;
    border-bottom: none;
    text-align: center;
    padding: 1rem 0;
}

.register-card .form-control {
    border-radius: 10px;
    padding-left: 45px;
    transition: all 0.3s ease;
}

.register-card .form-control:focus {
    border-color: #d62c34;
    box-shadow: 0 0 8px rgba(214, 44, 52, 0.3);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    background: #fff;
    border: none;
    color: #d62c34;
    font-size: 1.2rem;
}

.btn-custom {
    background: linear-gradient(135deg, #2b2828, #141312);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(3, 3, 3, 0.4);
}

.btn-custom:active {
    transform: scale(0.97);
}

.card-footer {
    background: #fff;
    border-top: none;
    text-align: center;
}

.card-footer a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.card-footer a:hover {
    color: #d62c34;
}



#full_name::placeholder,
#mobile::placeholder,
#meta_title::placeholder,
#meta_description::placeholder,
#youtube_video_url::placeholder,
#title::placeholder,
#email::placeholder,
.form-control[type="text"]::placeholder,
.form-control[type="email"]::placeholder,
.form-control[type="tel"]::placeholder {
    color: #cacaca !important;
    opacity: 1 !important;
    font-size: 15px !important;
}


.form-control[type="password"]::placeholder {
    color: #cacaca !important;
    opacity: 1 !important;
    font-size: 13px !important;
}

/* Password input - 13px */
#password::placeholder,
.form-control[type="password"]::placeholder {
    color: #cacaca !important;
    opacity: 1 !important;
    font-size: 13px !important;
}

/* Subtle blink animation with blur and black opacity */
@keyframes blink {
  0%, 50%, 100% { 
    opacity: 1; 
    filter: blur(0px);
    color: black; /* normal color */
  }
  50%, 75% { 
    opacity: 0.1; 
    filter: blur(1.5px);
    color: rgba(17, 16, 16, 0.9); /* semi-transparent black */
  }
}

.blink-icon {
  animation: blink 1.5s infinite;
  transition: color 0.3s, filter 0.3s;
  cursor: pointer;
}

.pagination .page-item .page-link {
    color: #fff; /* text white */
    background-color: #111010; /* black background */
    border: 1px solid #111010; 
    padding: 6px 12px;
    margin-right:4px;
    border-radius: 50% !important; /* full round */
    transition: all 0.2s ease;
    display: flex;              /* text center ke liye */
    align-items: center;
    justify-content: center;
    width: 40px;                /* fixed width */
    height: 40px;               /* fixed height */
}

.pagination .page-item .page-link:hover {
    background-color: #333; 
    border: 1px solid #111010; 
}

.page-item.active .page-link {
    background-color: rgb(216 53 69); /* active page red */
    border-color: rgb(216 53 69);
    color: #fff;
}
/* Disabled buttons ka style */
.pagination .page-item.disabled .page-link {
    background-color: #c0c0c0;   /* dark gray background */
    color: #ffffff;              /* light gray text */
    border-color: #c0c0c0;
    cursor: not-allowed;      /* disable cursor */
    opacity: 0.6;             /* thoda fade */
    pointer-events: none;     /* click disable */
}

.highlight-btn {
    display: inline-block; /* ensure proper button layout */
    background: linear-gradient(90deg, #000 0%, #444 50%, #1b1b1b 100%); 
    color: #fff; /* white text */
    border: 2px solid #444; /* thoda gray border */
    padding: 8px 16px;
    text-decoration: none; /* underline remove */
    transition: all 0.3s ease;
    border-radius:10px;
}

.highlight-btn:hover {
    background: linear-gradient(90deg, #000 0%, #555 50%, #000 100%);
  
    border-color: #444;
    transform: scale(1.05); /* thoda zoom */
}


.size-font{
    font-size:13px;
}