/*
Theme Name: MagicAds4U Inspired Theme
Theme URI: https://magicads4u.com
Description: A glowing, modern LFMTE theme with vibrant gradient menu bars and neon highlights.
Version: 1.0
Author: Ian Cormier
*/

@charset "utf-8";

/* ------------------- GLOBAL FONT & BODY ------------------- */
body {
	font-size: 16px;
	font-weight: 400;
	color: #fff;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0c29 100%);
}
.stars {
      position: fixed;
      width: 100%;
      height: 100%;
      background: url('https://www.transparenttextures.com/patterns/stardust.png');
      animation: sparkle 30s linear infinite;
      z-index: 0;
    }

    @keyframes sparkle {
      0% { background-position: 0 0; }
      100% { background-position: 1000px 1000px; }
    }

/* ------------------- MAGIC NAVBAR ------------------- */
.magic-navbar {
  background: linear-gradient(to right, #6b00b6, #ff00ff);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  z-index: 1050;
}

.magic-logo img {
  height: 40px;
}
.magic-logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px #000;
}

.magic-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.magic-menu li {
  margin: 0 12px;
}
.magic-menu li a {
  color: #fff;
  font-weight: 600;
  position: relative;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.magic-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #00ffff;
  box-shadow: 0 0 8px #00ffff;
}

/* Mobile Menu */
.magic-mobile-menu {
  display: none;
  flex-direction: column;
  background: #2a0044;
  padding: 10px 15px;
}
.magic-mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #550088;
}
.magic-mobile-menu a:hover {
  color: #ff00ff;
}

@media (max-width: 991.98px) {
  .magic-mobile-menu.open {
    display: flex;
  }
}

/* ------------------- FOOTER ------------------- */
.lfm_footer {
	background: linear-gradient(to right, #6b00b6, #000000);
	color: #ffffff;
	text-align: center;
	padding: 20px;
	font-size: 14px;
}

/* ------------------- OTHER STYLES ------------------- */

.far, .fas {
	margin-right: 3px;
}

.feedicon {
	color: #00ffff;
	font-size: 20px;
	margin-right: 5px;
}

.profilepic_small {
	width: 40px;
	height: 40px;
}
.profilepic_med {
	width: 75px;
	height: 75px;
}
.profilepic_large {
	width: 200px;
	height: 200px;
}

.buttonlink {
	cursor: pointer;
	background: linear-gradient(to right, #6b00b6, #ff00ff);
	border-radius: 3px;
	border: 1px solid #4b0082;
	color: #ffffff;
	font-size: 16px;
	padding: 5px 12px;
	text-decoration: none;
	box-shadow: 0 0 8px rgba(255, 0, 255, 0.4);
}
.buttonlink:hover {
	color: #ffffff;
	background: #8a2be2;
	text-decoration: none;
}

.infobar {
	width: 100%;
	padding: 15px;
	color: #ffffff;
	background: #333344;
	text-align: center;
}
.infobar h2 {
	color: #ffffff;
}

.vcenter {
	display: flex;
	align-items: center;
}

/* Text styles */
.lfm_title {
	font-family: "Arial";
	color: #6b00b6;
	font-size: 32px;
}
.lfm_descr {
	font-family: "Arial";
	color: #111111;
	font-size: 16px;
}
.lfm_descr_bold {
	font-family: "Arial";
	color: #000000;
	font-size: 16px;
	font-weight: 700;
}
.has-dropdown {
  padding-bottom: 6px;
  position: relative;
  display: inline-block; /* Ensure dropdown aligns with inline nav items */
}
.has-dropdown > a {
  display: block;
  padding: 10px 15px;
}
.has-dropdown > a::after {
  content: " ▼";
  font-size: 0.6em;
}

.dropdown-list {
  position: absolute;
  top: 100%;
 left: 50%; /* Center to parent */
  transform: translateX(-50%) translateY(10px); /* Shift left 50% of its width */
  right: auto;
  margin: 0;
  padding: 0;
  min-width: 180px;
  background: #2a0044;
  border-radius: 4px;
  list-style: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1001;
}
.has-dropdown:hover .dropdown-list,
.has-dropdown.open .dropdown-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-list li {
  width: 100%;
}

.dropdown-list li a {
  display: block;
  width: 85%;
  padding: 10px 16px;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid #550088;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-list li a:hover {
  background: #3b0060;
  color: #ff00ff;
}



/* Mobile handling */
@media (max-width: 991.98px) {
  .dropdown-list {
    position: static;
    display: none;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .has-dropdown.open .dropdown-list {
    display: flex;
  }
}
.magic-menu li a {
  position: relative;
  overflow: hidden;
  display: inline-block;
  z-index: 1;
}

.magic-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}

.magic-menu li a:hover::before {
  transform: scaleX(1);
}

.btn {
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(255, 0, 255, 0.3);
}
.btn-magic {
      background: #ff00ff;
      color: white;
      border: none;
      padding: 12px 25px;
      border-radius: 6px;
      box-shadow: 0 0 15px #ff00ff, 0 0 30px #00ffff;
      transition: 0.3s ease;
    }

    .btn-magic:hover {
      background: #ff66ff;
      transform: scale(1.05);
      box-shadow: 0 0 25px #ff00ff, 0 0 45px #00ffff;
    }
.btn-primary {
  background: linear-gradient(45deg, #6b00b6, #ff00ff);
  border: none;
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  box-shadow: 0 0 12px #ff00ff;
}

.btn-secondary {
  background: #2a0044;
  border: none;
  color: #fff;
}
.btn-secondary:hover {
  background: #3c0066;
  box-shadow: 0 0 10px #8800ff;
}
.table {
  color: #fff;
  background-color: #1e0033;
  border-color: #4b0082;
}
.table thead th {
  background: #6b00b6;
  color: #fff;
  border-color: #ff00ff;
}
.table tbody tr {
  border-top: 1px solid #4b0082;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #2a0044;
}
.table-hover tbody tr:hover {
  background-color: #3b0060;
}
.alert {
  border-radius: 4px;
  border: none;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.alert-primary {
  background: linear-gradient(to right, #6b00b6, #ff00ff);
}
.alert-success {
  background: linear-gradient(to right, #00c851, #007e33);
}
.alert-danger {
  background: linear-gradient(to right, #ff4444, #cc0000);
}
.alert-warning {
  background: linear-gradient(to right, #ffbb33, #ff8800);
}
.card {
  background-color: #2a0044;
  border: none;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.15);
}
.card-header {
  background-color: #3b0060;
  font-weight: bold;
  color: #fff;
}
.card-footer {
  background-color: #1c002e;
  border-top: 1px solid #550088;
}
.form-control {
  background-color: #1e0033;
  color: #fff;
  border: 1px solid #4b0082;
}
.form-control:focus {
  border-color: #ff00ff;
  box-shadow: 0 0 6px #ff00ff;
  background-color: #24004a;
}
/* Modals */
    .modal.fade .modal-dialog {
      transform: scale(0.95);
      transition: transform 0.3s ease-out, opacity 0.3s ease-out;
      opacity: 0;
    }
    .modal.fade.show .modal-dialog {
      transform: scale(1);
      opacity: 1;
    }

    /* Dropdowns */
    .dropdown-menu {
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }
    .dropdown-menu.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Styled Checkboxes */
    .custom-control-input:checked ~ .custom-control-label::before {
      background-color: #ff00ff;
      border-color: #ff00ff;
      box-shadow: 0 0 4px #ff00ff;
    }
    .custom-control-label::before {
      background-color: #1e0033;
      border: 1px solid #4b0082;
    }
    .custom-control-label::after {
      filter: drop-shadow(0 0 2px #ff00ff);
    }

    /* Nav Pills */
    .nav-pills .nav-link {
      background-color: #2a0044;
      color: #fff;
      margin: 0 5px;
    }
    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
      background: linear-gradient(to right, #6b00b6, #ff00ff);
      box-shadow: 0 0 8px #ff00ff;
    }

    /* Badges */
    .badge {
      font-size: 0.85rem;
      padding: 5px 10px;
      border-radius: 20px;
    }
    .badge-primary {
      background: linear-gradient(to right, #6b00b6, #ff00ff);
      color: #fff;
    }
    .badge-success {
      background: linear-gradient(to right, #00c851, #007e33);
    }
    .badge-danger {
      background: linear-gradient(to right, #ff4444, #cc0000);
    }
    .badge-warning {
      background: linear-gradient(to right, #ffbb33, #ff8800);
      color: #111;
    }
    .dashboard-header {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 5px #ff00ff;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff00ff;
  box-shadow: 0 0 10px rgba(255,0,255,0.5);
}

.stat-icon {
  font-size: 2rem;
  color: #00ffff;
}

.value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.row-spacing {
  margin-bottom: 1.5rem;
}
 .scontainer {
      position: relative;
      z-index: 10;
    }
/* Signup Form Styles */
.signup-form {
  max-width: 800px;
  margin: auto;
background: #A600D3;
  padding: 25px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
}

.signup-form table {
  width: 100%;
  border-collapse: collapse;
}

.signup-form td {
  padding: 10px;
  vertical-align: middle;
}

.signup-form .formlabelbold {
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}

.signup-form input[type="text"],
.signup-form input[type="password"],
.signup-form input[type="email"],
.signup-form select {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}



.signup-form select {
  max-width: 100%;
}

.signup-form .error {
  color: red;
  font-weight: bold;
  text-align: center;
}

.signup-form .membertdbold {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  color: #007bff;
}

.signup-form input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 6px;
}
