/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5f5f5;
}

/* LOGIN CONTAINER */
.container {
  width: 400px;
  min-height: 400px;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 40px 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container .login-text {
  color: #111;
  font-weight: 600;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

.container .input-group {
  width: 100%;
  margin-bottom: 20px;
}

.container input {
  width: 100%;
  height: 50px;
  border: 2px solid #e7e7e7;
  padding: 15px 20px;
  font-size: 1rem;
  border-radius: 30px;
  background: transparent;
  outline: none;
  transition: 0.3s;
}

.container input:focus {
  border-color: #6c5ce7;
}

.container .btn {
  width: 100%;
  padding: 15px;
  border: none;
  background: #6c5ce7;
  color: #FFF;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.container .btn:hover {
  transform: translateY(-3px);
  background: #5848c9;
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.login-register-text {
  color: #111;
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
}

.login-register-text a {
  text-decoration: none;
  color: #6c5ce7;
  font-weight: 600;
}

.login-register-text a:hover {
  text-decoration: underline;
}

/* ERROR/SUCCESS MESSAGE */
.message {
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 15px;
}

/* HEADER */
.header-logo {
  height: 45px;
  width: auto;
}

.navbar {
  border-bottom: 3px solid #6c5ce7;
  background-color: #fff;
  padding: 12px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand {
  position: absolute;
  right: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
}

.navbar .navbar-brand:hover {
  color: #6c5ce7;
}

/* MAIN WRAPPER */
.main-wrapper {
  background: #f8f9fa;
  min-height: calc(100vh - 70px);
}

/* SIDEBAR */
.sidebar {
  background: #FFF;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 68px 0 0 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-sticky {
  height: calc(100vh - 68px);
  overflow: auto;
}

#sidebarMenu .nav-link {
  border-radius: 10px;
  color: #495057;
  font-size: 15px;
  font-weight: 500;
  margin: 5px 0;
  padding: 12px 15px;
  transition: all 0.3s;
}

#sidebarMenu .nav-link:hover {
  background: #f0f0f0;
  color: #6c5ce7;
  transform: translateX(5px);
}

#sidebarMenu .nav-link.active {
  background: linear-gradient(135deg, #6c5ce7 0%, #5848c9 100%);
  color: #FFF;
  box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

#sidebarMenu .nav-link i {
  font-size: 1.2rem;
}

/* CARDS */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, #6c5ce7 0%, #5848c9 100%);
  color: white;
  border: none;
  padding: 15px 20px;
  font-weight: 600;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

/* TABLES */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
}

table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0;
}

table.dataTable thead th {
  background: linear-gradient(135deg, #6c5ce7 0%, #5848c9 100%);
  color: white;
  font-weight: 600;
  border: none;
  padding: 15px;
}

table.dataTable tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
}

table.dataTable tbody tr:hover {
  background-color: #f8f9fa;
}

/* FORMS */
.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.15);
}

/* BUTTONS */
.btn {
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6c5ce7 0%, #5848c9 100%);
  box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

/* TITLE GROUP */
.title-group {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.title-group h1 {
  color: #333;
  font-weight: 700;
  margin-bottom: 5px;
}

.title-group small {
  color: #6c757d;
  font-size: 0.9rem;
}

/* FAQ SECTION */
.custom-block-faq {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-head {
  font-size: 1.8rem;
  font-weight: 700;
  color: #6c5ce7;
  display: block;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #6c5ce7;
}

.faq-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
}

.faq-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

/* BADGES */
.badge {
  padding: 8px 15px;
  font-weight: 600;
  border-radius: 20px;
}

/* ALERTS */
.alert {
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    padding: 0;
  }
  
  .main-wrapper {
    margin-left: 0;
  }
  
  .navbar .navbar-brand {
    position: static;
    margin-top: 10px;
  }
}