@font-face {
  font-family: 'Poppins';
  font-weight: 400;
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
}
.stk_info{
  color: red;
  font-style: italic;
  font-weight: 500;
  display: none;
}
body{
   min-height: 100vh;
  padding: 20px;
  background: #f5f5dc;
}
.content{
  max-width: 1090px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
 .content .card{
  background: #fff;
  width: calc(33% - 20px);
  text-align: center;
  padding: 15px 30px  30px 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
}
.content .card .top{
  height: 130px;
  color: #fff;
  padding: 12px 0 0 0 ;
  clip-path: polygon(0 0, 100% 0, 100% 53%, 49% 100%, 0 53%);
}
.content .card .top .title{
 font-size: 27px;
 font-weight: 600;
}
.content .card .top .price-sec{
  margin-top: -10px;
  font-weight: 600;
}
.content .card .top .price{
  font-size: 45px;
}
.content .card .info{
  font-size: 16px;
  margin-top: 20px;
}
.content .card .details .one{
  margin-top: 25px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.content .card .details .one::before{
  position: absolute;
  content: "";
  width: 100%;
  background: #ddd;
  height: 1px;
  left: 0;
  top: -12px;
  border-radius: 25px;
}
.content .card .details .one i{
  color: #2db94d;
}
.content .card .details i.fa-times{
  color: #cd3241;
}
.content .card button{
  outline: none;
  border: none;
  height: 42px;
  color: #fff;
  margin-top: 30px;
  border-radius: 50px;
  font-size: 18px;
  width: 100%;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 1px;
}
.content .one .top,
.content .one button{
  background:#71c55d;
}
.content .two .top,
.content .two button{
  background: #71c55d;
}
.content .three .top,
.content .three button{
  background: #71c55d;
}
.content button:hover {
  filter: brightness(90%);
}
.content .one ::selection{
background: #8af5b6;
}
.content .two ::selection{
background:  #f2b08c;
}
.content .three ::selection{
background: #d0f9fb;
}
.button{
	 outline: none;
  border: none;
  height: 42px;
  color: #fff;
  background-color:#71c55d;
  margin-top: 30px;
  border-radius: 50px;
  text-decoration:none;
  font-size: 18px;
  width: 100%;
  display: flex;
  justify-content:center;
  align-items:center;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 1px;
}
@media (max-width:1000px) {
   .content .card{
    background: #fff;
    width: calc(50% - 20px);
    margin-bottom: 30px;
}
}
@media (max-width:715px) {
 .content .card{
    width: 100%;
}
}


/* Dialog Container (overlay) */
.dialog_container {
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* Set to flex when visible via JS */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}
.dialog_container.show {
    display: flex; /* Ensure the dialog container is shown with flex */
    animation: fadeIn 0.3s ease-out;
}

/* Dialog Box */
.dialog {
    width: 100%;
    max-width: 500px; /* You can change this to any size */
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.payment_content {
    position: relative;
    background-color: white;
    padding: 20px;
    border: 1px solid #04AA6D;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1;
}

.loader {
    display: none; /* Set to block/flex when loading */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid #f3f3f3;
    border-top: 6px solid #2E6923;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.close-button {
    background: none;
    border: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
    align-self: flex-end;
}

.payment_content label {
    font-weight: bold;
}

input[type="text"], input[type="number"] {
    height: 40px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]::placeholder {
    color: #999;
    opacity: 1;
}

.auto_add_device {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    background-color: #04AA6D;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    width: 100%;
}

.button:hover {
    opacity: 0.9;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .payment_content {
        width: 100%;
        max-width: 95%;
        padding: 15px;
    }
}

.payment-method-options {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.payment-option-card {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  flex: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.payment-option-card:hover {
  border-color: #007bff;
  background-color: #f0f8ff;
}

.payment-option-card input[type="radio"] {
  display: none;
}

.payment-option-card .option-content {
  margin-left: 5px;
}

.payment-option-card .title {
  font-weight: bold;
  font-size: 1rem;
}

.payment-option-card .desc {
  display: block;
  font-size: 0.85rem;
  color: #555;
}

.payment-option-card input[type="radio"]:checked + .option-content {
  color: #007bff;
}

