﻿* {
  font-family: "Inter";
}

.primary-button {
  background: #5c068c;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
}

.primary-button:hover {
  background: #992ed3;
}

.primary-button:disabled {
  color: white;
  opacity: 0.7;
  &:hover{
    background-color: #5c068c;
    opacity: 0.7;
    cursor: not-allowed;
  }
}

.danger-button {
  background: #dc2626;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
}

.danger-button:hover {
  background: #dd0a0a;
  font-weight: bold;
}

.danger-button:disabled {
  color: white;
  cursor: progress;
}

.default-button {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #d1d5db;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
}

.default-button:hover {
  background: #f1ecec;
  border: 1px solid #b3b6bb;
  font-weight: bold;
}

.default-button:disabled {
  color: white;
  cursor: progress;
}

/* The Modal (background) */
.app-modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.app-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.app-modal-content-md {
  width: 50%;
}

.app-modal-content-sm {
  width: 30%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 0.7rem;
}

th,
td {
  background-color: #ffffff;
  color: gray;
  padding: 0.7rem !important;
}

th {
  text-align: left;
  color: #fff;
}

thead {
  th {
    background-color: #f9fafb;
    color: #6b7280;
  }
}

tbody {
  tr {
    &:hover {
      background-color: rgba(255, 255, 255, 0.3);
    }
  }
  td {
    color: #6b7280;
    position: relative;
    &:hover {
      &:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -9999px;
        bottom: -9999px;
        background-color: rgba(255, 255, 255, 0.2);
        z-index: -1;
      }
    }
  }
}

/* Background color for mobile view login */
.mobileBackgroud {
  background-color: #F9F9F9;
}

.modalButtons {
  background-color: #5c068c;
  width: fit-content;
  height: fit-content;
  color: white;
  border-radius: 4px;
}

.modalButtons:disabled {
    opacity: 0.4;
    cursor: default;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

    .otp-inputs input {
        width: 50px;
        height: 50px;
        font-size: 24px;
        text-align: center;
        border: 2px solid #ccc;
        border-radius: 8px;
    }

.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cancel-button, .approve-button {
    padding: 0.75rem 2rem;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.cancel-button {
    background-color: white;
    border: 1px solid #ccc;
    color: #333;
}

.approve-button {
    background-color: #4B0082;
    color: white;
}

.resend-section {  
   display: flex;  
   justify-content: center;  
   font-size: 14px;  
   color: #555;  
   max-width: 400px;  
   margin: 0 auto;
}

.Isdisabled:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }
}

.animate-pulse-heartbeat {
    animation: heartbeat 5s infinite;
}