
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda+SC:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
background: #0A080D;
background: url('../img/bg.png');
background-repeat:repeat;
background-attachment: fixed;
height: 100%;
font-family: "Crimson Pro";
color: #fff;
font-size: 15px;
overflow-x: hidden; /* Hide vertical scrollbar */

}

blockquote {
    border-left: 1px solid #BC6C3B;
    padding: 10px;
}


 h1 {
        position: relative;
        display: inline-block;
        font-family: "Crimson Pro", serif;
        font-size: 18px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #fff;
        margin: 0 0 0 4px;
       padding: 5px;
        z-index: 1;
        width: 100%;
        margin-bottom: 12px;
        background: rgba(188, 109, 59,0.5);
        border-radius: 5px;
      }
    
        h2 {
        color: #fff;
        text-shadow:0px 0px 5px #fff;
        padding: 5px
        font-size: 24px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-family: "Crimson Pro", serif;
        margin-left: 3px;
        font-weight: 400;
        border-bottom: 2px solid #fff;
        padding-bottom: 3px;
        box-shadow: 5px #fff;
        text-align: center;
    }
    
     h3 {
        position: relative;
        display: inline-block;
        font-family: "Crimson Pro", serif;
        font-size: 20px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #fff;
        text-shadow: 0 0 5px #fff;
        margin: 0 0 0 3px;
        padding: 5px 10px;
        border-bottom: 2px solid #fff;
        padding-bottom: 3px;
        z-index: 1;
        width: 100%;
        margin-bottom: 10px;
      }

      h3::before {
        font-family: "Phosphor";
        content: "\E6A2";
        font-weight: normal;
        margin-right: 8px;
        vertical-align: middle;
      }

      h3::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: url('../img/flins_bg.png') center/cover no-repeat;
        mask-image: linear-gradient(to top, black 30%, transparent 80%);
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
      }
    


b, strong {
  color: #BC6D3B;
}

i, em {
  color: #9C4221;
  text-shadow: none;
}

u {
    text-decoration-color: #000;
}

/* Link styling */
a:link, a:visited, a:active {
  text-decoration: none;
 color: #2C6C85;
}

a:hover {
  color: #BC6D3B;
}



.ph {
    width: 1.25em;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}



/* Ensures text fields have consistent font styles across browsers. */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

.box {
      background: rgba(144, 119, 115,0.5);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.dashboard-pending {
     background: rgba(144, 119, 115,0.5);
  padding: 15px;
  border-radius: 10px;
  width: 50%;
  margin: 0 auto 10px auto;
}

.dashboard-pending h1 {
  border: 0;
  text-align: center;
}

.dashboard-pending li {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-pending li:before {
  content: "\E13A";
  font-family: "Phosphor";
  font-size: 10pt;
  vertical-align: middle;
  margin-right: 5px;
}

.form {
  width: 90%;
  margin: 0 auto;
  padding: 15px;
    background: rgba(144, 119, 115,0.5);
  margin-bottom: 10px;
  border-radius: 10px;
}

.form button.large {
  width: 50%;
  min-width: 200px;
  margin: 0 auto;
  display: block;
}

.messages {
    background: rgba(144, 119, 115,0.5);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #fff;
}

.messages.success {
  background: #3e7454;
}

.messages.error {
  background: #a84c4c;
}

.affiliates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, auto));
  gap: 20px;
}

.affiliates .affiliate {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.affiliates img {
  display: block;
  min-width: 88px;
  min-height: 31px;
  max-width: 88px;
  max-height: 31px;
  object-fit: contain;
}

.codes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(50px);
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-button {
  background: none;
  border: none;
  font-size: 15pt;
  cursor: pointer;
}




/* Styling for input and textarea elements */
input,
textarea,
select {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(201, 196, 194, 0.5);
  width: 100%;
  color: #333;
  border-radius: 5px;
}


textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group label:before {
  content: "\E13A";
  font-family: "Phosphor";
  font-size: 10pt;
  vertical-align: middle;
  margin-right: 5px;
}

.form-group label:has(input[type="checkbox"]):before {
  content: none;
}

#password-strength-message {
  margin-top: 5px;
}

fieldset.settings-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 5px;
}

fieldset.settings-group legend {
  font-weight: bold;
  padding: 0 10px;
}

.letter-filter a {
  padding: 5px;
  border-radius: 10px;
}

.letter-filter a.all {
  padding: 5px 10px;
}

.letter-filter a.active {
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
}

/* Button styling */
button {
  padding: 8px 16px;
  border: 1px solid #9C4221;
  background-color: #BC6D3B;
  color: #fff;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

button:hover {
  filter: brightness(1.1);
}

button:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* LAYOUT CSS STARTS HERE */

#container {
  display: flex;
  flex-wrap: wrap;
   margin: auto;
        margin-top: 0px;
        max-width: 1000px;
        min-height: 800px;
        padding: 0px;
min-height: 600px;
}

#header {
 background: url(../img/header.png);
background-repeat: no-repeat;
  width: 100%;
  height: 500px;
}

#footer {
  color: #fff;
  padding: 10px;
  text-align: center;
  width: 100%;
  background: rgba(144, 119, 115,0.5);
    font-family: "Crimson Pro";
    font-size: 13px;
    text-transform: uppercase;
}

#footer i {
color: white;
}


#topbar {
margin: auto;
            height: 50px;
            text-align: center;
            padding-top: 5px;
                background: rgba(144, 119, 115,0.5);
              width: 100%;
}

        #topbar a:link, #topbar a:visited {
            color: #fff;
            text-decoration: none;
            font-family: "Crimson Pro", serif;
            font-size: 18px;
            padding: 10px;
            width: 140px;
            letter-spacing: 1px;
            font-weight: 300;
            display:inline-block;
            text-transform: uppercase;
             transition:  .3s linear;
             text-shadow:0px 0px 5px #fff;
        }
#topbar a:hover {
            text-decoration: none;
              color: #9C4221;
  text-shadow: 0 0 5px #9C4221;
         transition: .3s linear;
        }

#content {
  padding: 10px;
  flex: 1;
 background: #c5c7c9;
      
}


.links { 
display: grid; 
grid-template-columns: repeat(2, 1fr);
gap: 5px;
background: rgba(47, 40, 61, 0.27);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5.8px);
-webkit-backdrop-filter: blur(5.8px);
border: 1px solid rgba(47, 40, 61, 0.81);
padding: 5px;
position: relative;
}


.links a:link {

  overflow: hidden;
  position: relative;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  background: rgba(0,0,0,0.6);
  text-transform: uppercase;
  font-family: "Nunito sans";
  letter-spacing: 1px;
  
  &:after {
    background: #fff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: .2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: -10;
  }
    
}

.links a:hover {
  
  &:after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  }
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
     background: rgba(144, 119, 115,0.5);
  font-weight: bold;
}

th:first-child {
  border-top-left-radius: 10px;
}

th:last-child {
  border-top-right-radius: 10px;
}

tr:nth-child(odd) {
    background: rgba(144, 119, 115,0.5);
}

tr:nth-child(even) {
    background: rgba(144, 119, 115,0.2);
}

tr:hover {
     background: rgba(144, 119, 115,0.35);
  transition: background-color 0.2s;
}

.actions {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
}

.actions a {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 8pt;
  font-weight: bold;
  text-transform: uppercase;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 5px;
  color: #fff;
  transition: background-color 0.2s, transform 0.1s;
}

li:before {
  content: "\E13A";
  font-family: "Phosphor";
  font-size: 10pt;
  vertical-align: middle;
  margin-right: 5px;
}

li:hover {
  background-color: rgba(0, 0, 0, 0.35);
  transform: translateX(3px);
}

li:nth-child(odd) {
    background: rgba(144, 119, 115,0.5);
}

li:nth-child(even) {
    background: rgba(144, 119, 115,0.2);
}

  

/* Responsive CSS (phones and tablets) */
@media (max-width: 768px) {
  #container {
    padding: 10px;
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
    order: 2;
    padding: 15px;
  }
  #header {
    padding: 15px;
  }
  #footer {
    padding: 15px;
    order: 3;
  }
  #content {
    padding: 15px;
    order: 1;
  }
}



.box {
    max-width: 700px;
    padding: 12px;
    margin: auto;
    position: relative;
    background: rgba(144, 119, 115,0.5);
margin-bottom: 10px;
margin-top: 10px;
border-radius: 10px;
}

.conbox {
    max-width: 700px;
    padding: 12px;
    margin: auto;
    position: relative;
    background: rgba(188, 109, 59,0.2);
margin-bottom: 10px;
margin-top: 10px;
border-radius: 10px;
}
