@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900'); 

@font-face {
  font-family:'rgbf' ;
  src: url('FontLicense.txt');
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
/* Base body styles */

body {
  margin:0;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  
}


/* Remove underline on hover links */
a:hover {
  text-decoration: none;
}

/* Link color styling */
.link {
  color: #000000;
  text-decoration: none;
}
.link:hover {
  color: #ffffffdb;
}

/* Headings and text styles */
p {
  font-weight: 500;
  font-size: 14px;
}
h4 {
  font-weight: 600;
}
h6 span {
  padding: 0 20px;
  font-weight: 700;
}

/* Hide checkbox from view */
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  display: none;
}

/* Custom switch styling (used for toggling between login/signup) */
.checkbox:checked + label,
.checkbox:not(:checked) + label {
  position: relative;
  display: block;
  width: 60px;
  height: 16px;
  margin: 10px auto;
  cursor: pointer;
  border-radius: 8px;
  background-color: #ffffff;
}

/* Circle icon inside toggle switch */
.checkbox:checked + label:before,
.checkbox:not(:checked) + label:before {
  content: '\eb4f';
  font-family: 'unicons';
  position: absolute;
  width: 36px;
  height: 36px;
  top: -10px;
  left: -10px;
  border-radius: 50%;
  background-color: #020305;
  color: #ffffff;
  text-align: center;
  line-height: 36px;
  font-size: 24px;
  transition: all 0.5s ease;
  z-index: 20;
}

/* Move toggle icon when checked */
.checkbox:checked + label:before {
  transform: translateX(44px) rotate(-270deg);
}

/* Container for 3D card */
.card-3d-wrap {
  position: relative;
  width: 440px;
  max-width: 100%;
  perspective: 800px;
  transform-style: preserve-3d;
  transition: height 0.3s ease;
  height: 540px;
}


.card-3d-wrapper {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-out;
}


/* Front and back faces of the card */
.card-front,
.card-back {
  position: absolute;
  height: 100%;
  width: 100%;
  /* background-color: #003bff5c; */
  background: transparent;
  border: 2px solid rgba(255,255,255, .5);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  padding-bottom: 32px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Rotate the back side 180 degrees */
.card-back {
  transform: rotateY(180deg);
}

/* Rotate the wrapper when checkbox is checked */
.checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
  transform: rotateY(180deg);
}

/* Centering the form content */
.center-wrap {
  position: relative;
  width: 100%;
  padding: 20px 35px;
  transform: none;
  top: auto;
}

/* Input field group */
.form-group {
  position: relative;
  margin: 0;
  padding: 0;
  margin-bottom: 16px;
}

/* Input styling */
.form-style {
  padding: 13px 20px 13px 55px;
  height: 48px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  background-color: #ffffff;
  color: #c4c3ca;
  border: none;
  outline: none;
  box-shadow: 0 4px 8px 0 rgb(195,191,191);
  transition: all 200ms linear;
}

/* Keep same styles on focus */
.form-style:focus,
.form-style:active {
  box-shadow: 0 4px 8px 0 rgb(176,173,173);
  outline: none;
  border: none;
}

/* Position the input icon */
.input-icon {
  position: absolute;
  top: 10px;
  left: 18px;
  height: 48px;
  font-size: 24px;
  line-height: 48px;
  transition: all 200ms linear;
}

/* Button styling */
.btnn {
  height: 44px;
  padding: 0 30px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 8px 24px 0 rgba(255, 255, 255, 0.205);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  transition: all 200ms linear;
}

/* Button hover effect */
.btnn:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.56);
}

/* Button disabled effect */
.btnn:disabled {
  background-color: #000000;
  color: #ffffffb2;
  box-shadow: 0 8px 24px 0 rgb(63,61,61);
  cursor: not-allowed;
}

/* Error message styling */
.error-msg {
  color: #ffffffee;
  font-size: 13px;
  height: 16px; 
  margin-top: 4px;
  display: block;
  overflow: hidden;
}

.page-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.card-container {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.matn{
  font-family: 'rgbf'!important;
  font-size: 26px!important;
  font-weight: bolder !important;
}


.size{

padding: 20px !important;


}

table tbody td {
  text-align: right;
}


.rgb{
    position: relative;
    background-color: #fafafaa4;
    border: none;
    width: 50%;
    height: 300px;
    margin: auto;
    margin-top: 5%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   color: black;
    background: transparent;
    border: 2px solid rgba(255,255,255, .5);
    border-radius: 115px 16px 115px 16px;
    backdrop-filter: blur(20px); 
}

.inp{
  border: 1px solid green !important;
  border-radius: 7px 7px !important;
  padding: 3px !important;
  width: 152px;
}

.inp:focus,
.inp:active {
  box-shadow: 0 4px 8px 0 #b9c4e287;
  outline: none;
  border: none;
}

.sabt{

background-color: #ffffff !important;
color: #000000;
border: none;
}

.sabt:hover{

background-color:#cfe2ff !important;
color: #000000 !important;
box-shadow: 0 4px 8px 0 #b9c4e287;
border: none;
;


}

/* @media (max-width:400px) {
    .rgb{
      width: 63vw;
      height: 156px;
      border-radius: 70px 16px 71px 16px;
    }
    
}
 @media (min-width:400px) {
    .rgb{
        width: 53vw;
        height: 224px;
        background-color: rgb(207 226 255);
        border-radius: 109px 17px 109px 17px;
        margin-top: 8%;
    }
    
} 
@media (min-width:1000px) {
    .rgb{
        width: 45vw;
        height: 280px;
        background-color: rgb(207 226 255);
        border-radius: 132px 16px 132px 16px;
        margin-top: 5%;
    }
} */


/* .alerthom{


color: black;
background: transparent;
border: 2px solid rgba(255,255,255, .5);
border-radius: 10px;
backdrop-filter: blur(20px);

} */

.tablee{
--bs-table-bg: #ffffff47 !important;

}


.table-responsive{
 
  overflow-x: auto;

}

@media (max-width: 1200px) {
  .table td, .table th {
    font-size: 13px;
    white-space: nowrap;
    --bs-table-bg: #ffffff47;
  }

  .btn{
    font-size: 12px;
    padding: 4px 6px;
  }

  .btn svg{
    width: 14px;
    height: 14px;
  }
  .btn-group{
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
}


.btn .btn-text{
  display: inline;
  margin-right: 4px;
}

@media (max-width: 768px){
    
  .btn .btn-text{
    display: none;
  }

  .btn{
    padding: 6px 8px;
  }

  .btn{
    font-size: 16px;
  }

}


@media (max-width: 768px){
  .matnlist{
    font-size: 18px;
  }
}

@media (max-width: 768px){
  .matnnav{
    --bs-navbar-brand-margin-end: 0rem;
    --bs-navbar-brand-font-size: 1.1rem;
  }
}




.for{
    display:inline !important;
    width:50% !important;
}

@media (max-width: 768px){
 .fo {
    display:flex;
    flex-wrap:nowrap;
    justify-content:center;
    vertical-align:middle;
    align-items:center;
    gap: 8px;
  }
 .for{
    flex:1;
    min-width:0;
     
 }
 
 .fory{
    flex-shrink:1;
     
 }
  .preview {
      margin-top: 10px;
      margin-right: 20px;
      max-width: 50%;
      border: 2px solid rgba(255,255,255, .5);
      padding:4px;
    }
    .preview img {
      max-width: 100%;
      max-height:200px;
      display: inline;
      margin-bottom: 10px;
    }
} 


 .preview {
      margin-top: 10px;
      margin-right: 20px;
      max-width: 98%;
      border: 2px solid rgba(255,255,255, .5);
      padding: 5px;
    }
    .preview img {
      max-width: 100%;
      height:300px;
      display: inline;
      margin-bottom: 10px;
    }
    
    
    .message {
        margin-bottom:15px;
        padding:10px;
        border-radius: 5px;
        
    }
    .success {
        background:#e0ffe0;
        border:1px solid #70c070;
        
    }
    
    .error {
        background:#ffe0e0;
        border:1px solid #70c070;
        
    }