
* {
  box-sizing: border-box;
}

body {
  justify-content: center;
  padding: 12px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  height: 100%;
}

@media (min-width: 600px) {
  body {
    padding: 12px 12px;
  }
}
.modal-dropdown{
    border-radius: 10px;
    padding: 4px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-family: Poppins, sans-serif;
}
.modal-dropdown:hover 
{background-color: #f1f1f1}

/* CSS */
.addcasebtn {
  background-image: linear-gradient(135deg, #008aff, #86d472);
  border-radius: 6px;
  border-color: transparent;
  box-sizing: border-box;
  color: #fff;
  display: block;
  height: 80px;
  font-size: 1.6em;
  font-weight: 600;
  padding: 7px;
  position: relative;
  text-decoration: none;
  width: 250px;
  z-index: 2;
}
.addcasebtn:hover {
  color: #fff;
}

.addcasebtn .addcasebtnspan {
  align-items: center;
  background: #07447a;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  height: 100%;
  transition: background 0.5s ease;
  width: 100%;
}

.addcasebtn:hover .addcasebtnspan {
  background: transparent;
}


.submitCaseBtn {
  background-color: #07447a;
  box-shadow: 0 14px 20px rgba(0,0,0,0.22), 0 10px 10px rgba(0,0,0,0.22);
  border-radius: .5rem;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-size: 17px;
  font-family: "Poppins";
  justify-content: center;
  padding: .5rem;
  text-decoration: none;
  width: 40%;
  border: 0;
  cursor: pointer;
  margin: 0 auto;
}

.submitCaseBtn:hover {
  background-color: #111827;
  color: #ffffff;
}


/* Modal Overlay */
.modal-overlay-container {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

@media only screen and (min-width: 1920px)
{
        /* Modal Content */
    .create-case-modal-content {
        width: 60%;
        margin: 15% auto;
        background-color: #f7f9fd;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #888;
    	z-index: 100000;
    	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }
}

@media only screen and (max-width: 1919px)
{
    /* Modal Content */
    .create-case-modal-content {
        width: 75%;
        margin: 12% auto;
        background-color: #f7f9fd;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #888;
    	z-index: 100000;
    	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }
}

.create-case-modal-content label {
  font-weight: 600;
}

.create-case-modal-content input[type="text"],
.create-case-modal-content input[type="number"],
.create-case-modal-content input[type="date"],
.create-case-modal-content textarea,
.create-case-modal-content select {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.create-case-modal-content textarea {
  resize: vertical;
  height: 180px;
}

.create-case-modal-content input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  vertical-align: sub;
}

.create-case-modal-content input[type="file"] {
    padding: 10px;
    font-size: 16px;
}

.radio-group {
  margin-bottom: 15px;
}

.radio-group label {
  display: inline-block;
  margin-right: 15px;
}

/* Two-column layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .full-width {
  grid-column: 1 / 3;
}

.form-grid .half-width {
  width: 100%;
}

.price-quantity-container {
  display: flex;
  gap: 18px;
}

.price-quantity-container .half-width {
  flex: 1;
}

.form-grid label {
  margin-bottom: 5px;
}


/* Close Button */
.close-success {
    position: absolute;
    top: 10px; /* 24px from the top of the modal */
    right: 24px; /* 24px from the right edge of the modal */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333; /* Adjust color as needed */
}

.close-success:hover {
    color: #e6e6e6; /* Change color on hover if desired */
}


.modal-close {
    color: #aaa;
    float: right;
    padding-right:10px;
    font-size: 40px;
    font-weight: bold;
}

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

.smDropDown select {
    width: 100%;                /* Full-width */
    padding: 7px !important;             /* Inner padding */
    font-size: 14px !important;           /* Font size for readability */
    border: 1px solid #ccc;     /* Light border */
    border-radius: 4px;         /* Rounded corners */
    background-color: #f9f9f9;  /* Light background color */
    color: #333;                /* Darker text color */
    -webkit-appearance: none;   /* Cross-browser consistency */
    -moz-appearance: none;      /* Cross-browser consistency */
}

.smTextBox {
    width: 70%;               /* Full width */
    padding: 7px !important;             /* Inner padding */
    font-size: 14px !important;           /* Font size for readability */
    border: 1px solid #ccc;    /* Light gray border */
    border-radius: 4px;        /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
    color: #333;               /* Dark text color */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transitions */
}

.addMoreBtn {
    display: flex;
    margin: 0 auto;
    outline: none;
    cursor: pointer;
    padding: 0px 6px;
    background-color: #0070d2;
    border-radius: 0.25rem;
    border: 1px solid #0070d2;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

 