@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.open-sans{
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

:root {
  --main-bg-color: #211414;
  --secondary-bg-color: #0c0c0c;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-image: url('../images/backgrounds/background1.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: repeat-y;

  backdrop-filter: blur(2px) brightness(0.9);
}

.global-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-width: 100vw;
}

p {
  margin-bottom: 0;
}

.item-group {
  display: inline;
  align-items: center;
}

.navbar-brand {}

.main-content-row {
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .main-content-row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column !important;
  }
}

.main-content-col {
  display: flex;
  flex-direction: column;
  padding: 5px;
  flex: 1 1;
}

.bg-secondary {
  background-color: var(--secondary-bg-color) !important;
}

.text-color {
  color: var(--text-color) !important;
}

.navbar {
  font-size: 1.25rem;
}

.navbar-expand-lg {
  justify-content: space-between !important;
  padding-top: 1.0rem !important;
  padding-bottom: 1.0rem !important;
}

.navbar-collapse {
  flex-grow: 0 !important;
}

.hero-background {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.4) 0%,
    rgba(20, 20, 20, 0.85) 100%
  );
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  padding: 2rem;
  margin-bottom: 1.5rem;

  border-radius: 0.5rem;
}

.hero-image {
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;

  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.4) 0%,
    rgba(20, 20, 20, 0.85) 100%
  ),
  url('../images/hero-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 300px;
}

.hero-description {
  color: #e3e3e3;
  font-size: 1.1rem;
  text-align: left !important;
  margin-inline: 1rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;

  font-size: 1.2rem;
}

.btn-form {
  padding: 15px 25px;
  background-color: rgba(20, 20, 20, 0.85);
  color: #ffffff !important;
  border-radius: 0.5rem;
  border: 0.5px solid rgb(255,255,255,0.1);
}

.btn-form:hover {
  background-color: rgb(20, 20, 20);
}

.btn-form2 {
  padding: 15px 25px;
  background-color: rgba(20, 20, 20, 0.4);
  color: #ffffff !important;
  border-radius: 0.5rem;
  border: 0.5px solid rgba(20, 20, 20, 0.4);
}

.btn-form2:hover {
  background-color: rgba(20, 20, 20, 0.6);
}

a:hover {
  text-decoration: none;
}

.nav-user-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0.5rem 1.0rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
}

.nav-user-container:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.nav-username {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle !important;
  border-top: 0.35em solid white;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 0.5rem;
  min-width: 200px;
  margin-top: 10px !important;
}

.dropdown-header {
  color: #72767d;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.dropdown-item {
  color: #e3e3e3 !important;
  font-size: 0.9rem;
  padding: 10px 15px;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.dropdown-item i {
  width: 16px;
  color: #f3f3f3;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  transform: translateX(5px);
}

.dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-logout {
  color: #eeeeee !important;
}
.btn-logout i {
  color: #ff4d4d;
}
.btn-logout:hover {
  color: #ff4d4d !important;
}

.status-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-color: rgba(10, 10, 10, 0.25); 
  
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999; 
}

.status-card {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.6) 0%,
    rgba(20, 20, 20, 0.9) 100%
  );
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 3rem;
  min-width: 380px;
  max-width: 90%;
  position: relative;
  text-align: center;
  backdrop-filter: blur(15px);
}

.close-status {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.close-status:hover {
  color: white;
  transform: scale(1.1);
}

.status-pending { 
  color: #ffc107; 
  background: rgba(255, 193, 7, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.status-approved { 
  color: #28a745; 
  background: rgba(40, 167, 69, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.status-rejected { 
  color: #dc3545; 
  background: rgba(220, 53, 69, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.status-pending, .status-approved, .status-rejected {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.status-card {
  animation: zoomIn 0.3s ease-out;
}

.custom-login-modal .modal-content {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.6) 0%,
    rgba(20, 20, 20, 0.9) 100%
  );
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border-radius: 0.2rem;
  color: #ffffff;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.custom-login-modal .modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0;
  position: relative;
}

.custom-login-modal .modal-title {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.custom-login-modal .discord-icon-wrap {
  width: 90px;
  height: 90px;
  background: rgba(88, 101, 242, 0.05);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.15);
}

.custom-login-modal .discord-icon-wrap i {
  font-size: 3rem;
  color: #5865f2;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5));
}

.custom-login-modal .discord-login-btn {
  background-color: rgba(88, 101, 242, 0.9);
  color: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.custom-login-modal .discord-login-btn:hover {
  background-color: #5865f2;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4);
  color: #ffffff;
}

.custom-login-modal .close-btn, .close-status {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.custom-login-modal .close-btn:hover, .close-status:hover {
  color: #ff4d4d;
  transform: rotate(90deg);
}

.modal-body p, .status-card p {
  color: #b9bbbe;
  font-size: 0.95rem;
  line-height: 1.6;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}