/* Custom Styles for Zoom-Flutterwave Integration */

/* Text Logo Font */
@font-face {
  font-family: 'Colonna MT';
  src: url('../assets/fonts/COLONNA.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.text-logo {
  font-family: 'Colonna MT', serif;
  font-size: 36px;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.bg-primary {
    background-color: #4169E1 !important;
}

.btn-primary {
    background-color: #4169E1;
    border-color: #4169E1;
}

.btn-primary:hover {
    background-color: #3457c9;
    border-color: #3457c9;
}

.text-primary {
    color: #4169E1 !important;
}

/* Header */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

/* Webinar Details */
.webinar-description {
    max-height: 120px;
    overflow-y: auto;
}

/* Payment Success Page */
.payment-success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Admin Dashboard */
.dashboard-stat {
    padding: 1.5rem;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.dashboard-stat i {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Animation for payment processing */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Helper classes */
.shadow-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Main styles for Zoom-Flutterwave webinar platform */

/* Sidebar styles */
.sidebar {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    padding-top: 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    border-right: 1px solid #e9ecef;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.sidebar .nav-link {
    padding: 0.7rem 1rem;
    margin-bottom: 0.2rem;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(65, 105, 225, 0.1);
    color: #4169E1;
}

.sidebar .nav-link.active {
    background-color: rgba(65, 105, 225, 0.1);
    color: #4169E1;
    font-weight: 600;
}

.sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Card styles */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn {
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Table styles */
.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Webinar cards */
.webinar-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.webinar-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Price display */
.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

/* Modal styles */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Form styles */
.form-control:focus {
    border-color: #4169E1;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

/* Admin dashboard stats */
.stats-card {
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-card .stats-title {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.stats-card .stats-icon {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

/* Dashboard Stats Colors */
.stats-card.bg-primary {
    background: linear-gradient(135deg, #4169E1, #3457c9) !important;
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.3);
}

.stats-card.bg-success {
    background: linear-gradient(135deg, #28a745, #218838) !important;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.stats-card.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.3);
}

.stats-card.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

/* Action buttons */
.btn-action {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-edit {
    color: #4169E1;
    background-color: rgba(65, 105, 225, 0.1);
    border-color: transparent;
}

.btn-edit:hover {
    color: white;
    background-color: #4169E1;
}

.btn-delete {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border-color: transparent;
}

.btn-delete:hover {
    color: white;
    background-color: #dc3545;
}

.btn-view {
    color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
    border-color: transparent;
}

.btn-view:hover {
    color: white;
    background-color: #17a2b8;
}

/* Form styling */
.form-control:focus {
    border-color: #4169E1;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

/* Make the action button group display inline */
.btn-group-action {
    display: flex;
    gap: 0.5rem;
}

/* Admin Panel Specific Styles */
.admin-panel {
    background-color: #f8f9fa;
}

/* Admin Cards */
.admin-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Admin Tables */
.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
}

.admin-table td, .admin-table th {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

/* Admin Dashboard Stats Cards */
.stats-card {
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-card .stats-title {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.stats-card .stats-icon {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

/* Dashboard Stats Colors */
.stats-card.bg-primary {
    background: linear-gradient(135deg, #4169E1, #3457c9) !important;
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.3);
}

.stats-card.bg-success {
    background: linear-gradient(135deg, #28a745, #218838) !important;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.stats-card.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.3);
}

.stats-card.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

/* Action buttons */
.btn-action {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-edit {
    color: #4169E1;
    background-color: rgba(65, 105, 225, 0.1);
    border-color: transparent;
}

.btn-edit:hover {
    color: white;
    background-color: #4169E1;
}

.btn-delete {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border-color: transparent;
}

.btn-delete:hover {
    color: white;
    background-color: #dc3545;
}

.btn-view {
    color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
    border-color: transparent;
}

.btn-view:hover {
    color: white;
    background-color: #17a2b8;
}

/* Form styling */
.form-control:focus {
    border-color: #4169E1;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

/* Make the action button group display inline */
.btn-group-action {
    display: flex;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        min-height: auto;
    }
}

/* Navigation buttons */
.navbar-dark .nav-item .btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
}

.navbar-dark .nav-item .btn-outline-light:hover {
    background-color: #fff;
    color: #4169E1 !important; /* Use primary color for text on hover */
}

/* Fix for Register button visibility */
.navbar-dark .nav-item .btn-light {
    display: inline-block !important; /* Ensure always visible */
} 