* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
  }
  #webCam {
    width: 290px;
    height: 460px;
  }
}

h1 {
  text-align: center;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin: 10px 0px;
}

.container {
  display: flex;
  margin-top: 10px;
}

.card {
  border: 5px solid #242424;
  border-radius: 25px;
  width: 300px;
  max-height: 800px;
  margin: 0px auto;
  background-color: #333333;
  text-align: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.data-container {
  overflow: hidden;
}

.display-card-wrapper {
  overflow-y: auto;
  max-height: 450px;
  margin-bottom: 20px;
}

.display-card-wrapper::-webkit-scrollbar {
  width: 0.5em;
}

.call-app {
  overflow-y: auto;
  max-height: 450px;
}

/* .display-card-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc;
    outline: 1px solid #ccc;
}

.display-card-wrapper::-webkit-scrollbar-track {
    background-color: #f1f1f1;
} */

.card h1 {
  color: #fff;
  padding: 20px 0px 5px 0px;
  font-size: 23px;
}

#showError {
  display: none;
  color: #fff;
  cursor: pointer;
}

#numErr {
  display: none;
  color: red;
  font-size: 15px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin-left: -40px;
  margin-bottom: 1px;
  /* text-align: center; */
}

#showG {
  display: none;
}

#card-wrapper {
  display: none;
}

.input-container {
  margin-bottom: 20px;
}

.input-container input {
  padding: 5px;
  border-radius: 20px;
  width: 220px;
  outline: none;
  border: none;
}

.select-container select {
  background-color: #808080;
  outline: none;
  border: none;
  border-radius: 10px;
  padding: 5px 25px 5px 0px;
  margin-bottom: 20px;
  width: 150px;
}

.select-container select:hover {
  border-color: #12d640;
}

.button-container button {
  padding: 10px;
  margin-bottom: 20px;
  color: #6c757d;
  border-radius: 5px;
  border: none;
  outline: none;
}

.button-container button:hover {
  opacity: 0.9;
}

.all-cards {
  background-color: #eaeaea;
  margin: 0px 20px 20px 20px;
}

.all-cards h1 {
  font-size: 18px;
  padding: 10px;
}

.all-cards-text {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px;
  color: #343a40;
  font-size: 15px;
}

#validation {
  color: #31ab4d;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.validation-text {
  color: #31ab4d;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#phone-container {
  background-color: #060606;
  margin: 20px auto;
  border: 5px solid #080808;
  border-radius: 25px;
  width: 300px;
  height: 550px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  /* background-color: #333; */
}

#screen {
  width: 100%;
  height: 85%;
  background-color: #000;
  position: absolute;
  top: 7.5%;
  left: 0%;
  right: 0%;
  border-radius: 10px;
}

#mywallpaper {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker1 {
  width: 12px;
  height: 12px;
  background-color: #333;
  border-radius: 50%;
  border: 1px solid #000;
  position: absolute;
  top: 15px;
  left: 70px;
}

#camera-design {
  width: 100px;
  height: 15px;
  border-radius: 10px;
  background-color: #333;
  position: absolute;
  top: 12px;
  left: 100px;
}

.speaker2 {
  width: 12px;
  height: 12px;
  background-color: #333;
  border-radius: 50%;
  border: 1px solid #000;
  position: absolute;
  top: 15px;
  left: 215px;
}

#button-bar {
  width: 100%;
  height: 5%;
  position: absolute;
  bottom: 0;
  left: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #000;
}

.nav-button {
  width: 30px;
  height: 30px;
  object-fit: cover;
  cursor: pointer;
}

.innerDiv {
  position: absolute;
  left: 190px;
  top: 6px;
}

.network {
  /* margin-top: 0px; */
  position: absolute;
  right: 225px;
  color: #fff;
}

.network > p {
  font-size: 6px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  width: 50px;
}

.datetime-container {
  text-align: center;
  position: absolute;
  top: 130px;
  right: 38px;
}

#date {
  font-size: 15px;
  margin: 5px;
  color: #fff;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#time {
  font-size: 30px;
  font-weight: bold;
  margin: 5px;
  width: 180px;
  color: #fff;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#batteryIcon {
  transform: rotate(-90deg);
}

.apps-container {
  position: absolute;
  top: 200px;
  right: 100px;
  display: flex;
}

#calculatorIcon {
  background-color: #dc3545;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#gameIcon {
  background-color: #ffc107;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#chromeIcon {
  background-color: #17a2b8;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#musicIcon {
  background-color: #f8f9fa;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#phoneIcon {
  background-color: #28a745;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#messageIcon {
  background-color: #17a2b8;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#cameraIcon {
  background-color: grey;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

#contactIcon {
  background-color: #007bff;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}

.first-row {
  display: flex;
  position: absolute;
  top: 85px;
  gap: 8px;
  right: -115px;
}

.first-row > img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin: 0px 15px 0px 0px;
}

#tabIcon {
  position: absolute;
  top: 140px;
  right: 14px;
}

.second-row {
  display: flex;
  position: absolute;
  top: 185px;
  gap: 40px;
}

.second-row > img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin: 0px 153px 0px -170px;
}

/* Calculator stylesheet */

#calc-container {
  /* width: 250px; */
  margin: 0px 0px 0px -185px;
  /* padding: 0px 35px 10px 15px; */
  /* padding: 5px; */
  /* height: 300px; */
  /* background: #e3f9ff; */
  /* display: flex;
    align-items: center;
    justify-content: center; */
  display: none;
}
.calculator {
  background: #3a4452;
  padding: 10px;
  border-radius: 10px;
  height: 450px;
  width: 280px;
}
.calculator form input {
  border: 0;
  outline: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.2);
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  background: transparent;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  margin: 10px;
}

form .display {
  display: flex;
  justify-content: flex-end;
  margin: 25px 0;
}
form .display input {
  text-align: right;
  flex: 1;
  font-size: 45px;
  box-shadow: none;
  overflow-x: auto;
}
form input.equal {
  width: 105px;
}

form input.equal:hover {
  background-color: #33ffd8;
  color: #fff;
}

form input.number {
  /* transform: scale(1);
    transition: transform 0.3s ease;  */
  /* border: 2px solid transparent;
    transition: border 0.3s ease; */
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

form input.number:hover {
  /* transform: scale(1.2); */
  /* border-color: #555; */
  transform: rotate(15deg);
}

form input.operator {
  color: #33ffd8;
  transition: background-color 0.4s ease;
}

form input.operator:hover {
  background-color: #33ffd8;
  color: #fff;
}

.all-rows {
  margin: 40px 0px 0px 0px;
}

/* End of Calculator stylesheet */

/* Camera App style */
a {
  padding: 10px;
  background-color: orange;
  color: white;
  text-decoration: none;
}

canvas {
  display: none;
}

#cameraWrapper {
  display: none;
}

#webCam {
  margin-left: -190px;
}

.cameraBtn {
  display: flex;
  margin: -20px 0px 0px -165px;
  /* justify-content: space-evenly; */
  gap: 10px;
  position: absolute;
  bottom: 10px;
}

.cameraBtn button {
  /* padding: 10px; */
  width: 80px;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 10px;
  margin-top: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  /* -webkit-backdrop-filter: blur(5px); */
  backdrop-filter: blur(15px);
  cursor: pointer;
}

#cambtn1:hover {
  background-color: #1fb742;
  transition: background-color 0.4s ease;
}

#cambtn2:hover {
  background-color: #ef263a;
  transition: background-color 0.4s ease;
}

.cameraBtn a img {
  padding: 2px;
  cursor: pointer;
  object-fit: cover;
  width: 40px;
  height: 40px;
}
/* End of Camera App style */

#board {
  display: none;
}

#caller {
  display: none;
  width: 300px;
  height: 450px;
  margin-left: -200px;
  background-color: #f5f5f5;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  color: #333;
  flex-direction: column;
}

.phone-header {
  background-color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  font-weight: bold;
}

.active-network {
  color: #ffc107; /* MTN Yellow-ish */
}

.balance {
  color: #28a745;
}

#dialerScreen {
  height: 100%;
  display: flex; /* Flex layout for dialer */
  flex-direction: column;
  overflow: hidden; /* Ensures internal scrolling works if needed */
}

.display-screen {
  background: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#dialInput {
  border: none;
  font-size: 24px;
  width: 80%;
  outline: none;
  text-align: center;
  background: transparent;
  letter-spacing: 2px;
}

/* Network Status Trigger */
.network-status {
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 10px;
}

.network-status:hover {
  background: #e0e0e0;
}

/* Modal Overlay */
.modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 100;
}

/* Modal Box */
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin-top: 0;
  color: #333;
}

/* SIM Buttons */
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.sim-btn {
  padding: 10px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s;
}

.sim-btn:active {
  transform: scale(0.98);
}

/* Brand Colors */
.sim-btn.mtn {
  background-color: #ffcc00;
  color: #000;
}
.sim-btn.glo {
  background-color: #4caf50;
}
.sim-btn.airtel {
  background-color: #f44336;
}
.sim-btn.mobile9 {
  background-color: #006400;
}

.close-modal-btn {
  background: transparent;
  border: 1px solid #ccc;
  padding: 5px 15px;
  border-radius: 15px;
  cursor: pointer;
}

.del-btn {
  cursor: pointer;
  color: #d9534f;
  font-size: 20px;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; /* Reduced gap from 15px */
  padding: 5px 25px; /* Reduced padding */
  flex: 1;
  align-content: center; /* Centers grid vertically */
}

.keypad button {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 42px; /* Reduced from 50px */
  height: 42px; /* Reduced from 50px */
  font-size: 18px; /* Slightly smaller font */
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.2s;
  margin: 0 auto; /* Centers button in grid cell */
}

.keypad button:active {
  background: #eee;
}

.call-action {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
  min-height: 60px; /* Reserves space */
}

.call-btn {
  background: #28a745 !important;
  color: white !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
  cursor: pointer;
}

.call-footer {
  padding: 12px;
  background: #fff;
  border-top: 1px solid #eee;
  cursor: pointer;
  color: #007bff;
  font-size: 14px;
  font-weight: 500;
  z-index: 100; /* Ensures it stays on top if anything overlaps */
  position: relative; /* Required for z-index */
  pointer-events: auto; /* Explicitly allow clicks */
}

/* Highlight on hover to confirm it's interactive */
.call-footer:hover {
    background: #f0f0f0;
}

.call-footer:active {
    background: #e0e0e0;
}

/* Active Call Screen */
#activeCallScreen {
  display: none; /* JS will toggle */
  height: 100%;
  background: linear-gradient(to bottom, #2c3e50, #000);
  color: white;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 40px 20px;
}

.caller-profile {
  text-align: center;
}

.avatar-circle {
  width: 100px;
  height: 100px;
  background: #555;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ccc;
  border: 2px solid #777;
}

#callNumber {
  color: #aaa;
  margin-top: 5px;
}

#callTimer {
  margin-top: 20px;
  font-size: 20px;
  font-family: monospace;
}

#callStatus {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

.end-call-action .end-btn {
  background: #dc3545;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Recents Screen */
#recentsScreen {
  display: none;
  height: 100%;
  flex-direction: column;
  background: #fff;
  overflow: hidden; /* Contains the scrollable area */
}

.recents-header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.recents-header button {
  border: none;
  background: transparent;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
}

#recentsList {
  flex: 1; /* Takes available space */
  overflow-y: auto; /* Enables vertical scrolling */
  padding: 10px;
  text-align: left;
  height: 100%; /* Explicit height helps flexbox scroll */
}

/* SCROLLBAR STYLING FOR RECENTS */
#recentsList::-webkit-scrollbar {
  width: 5px;
}

#recentsList::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.log-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}

.log-item.outgoing {
  color: #28a745;
}

.log-item .duration {
  color: #999;
  font-size: 11px;
}

#contact {
  display: none;
  width: 300px;
  height: 455px;
  margin-left: -200px;
  background-color: #fff;
  text-align: center;
  padding: 20px;
  overflow-y: auto;
  position: relative;
}

#contact::-webkit-scrollbar {
  width: 0.5em;
}

#plusBtn {
  border: none;
  outline: none;
  border-radius: 50px;
  padding: 12px;
  background-color: #12d640;
  cursor: pointer;
  margin: 85px 0px 0px 215px;
  position: sticky;
  bottom: -10px;
  right: 0px;
}

#plusBtn:hover {
  opacity: 0.9;
}

#plusBtn img {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

#newContact {
  display: none;
  width: 300px;
  height: 455px;
  margin-left: -200px;
  padding: 20px;
  background-color: #fff;
  overflow-y: auto;
}

#newContact::-webkit-scrollbar {
  width: 0.5em;
}

#newContact p {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin: -24px 0px 0px -45px;
}

.newContact-btn button {
  padding: 0px;
  border: none;
  outline: none;
  background-color: #fff;
  cursor: pointer;
}

#newContact button img {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

#contactCamera {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background-color: #12d640;
  border-radius: 50%;
  padding: 18px;
  margin: 20px 0px 10px 100px;
}

#moreField {
  display: none;
  /* visibility: hidden; */
}

#moreFieldBtn {
  margin: 30px 0px 0px 0px;
  text-align: center;
}

#moreFieldBtn button {
  padding: 5px;
  outline: none;
  border: none;
  border-radius: 5px;
  color: #f8f9fa;
  background-color: lightgrey;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#moreFieldBtn button:hover {
  /* opacity: 0.9; */
  background-color: rgb(167, 158, 158);
}

#newContact div > input {
  width: 210px;
  height: 20px;
  /* margin: 10px; */
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 13px;
}

.newContact-btn {
  display: flex;
  gap: 215px;
  justify-content: space-between;
}

.contact-name-wrapper {
  padding: 10px;
  /* text-align: center; */
}

#personIcon {
  margin: 0px 8px 0px -10px;
}

#contactLastName {
  margin-left: 18px;
  margin-top: 10px;
}

#messenger {
  display: none;
  width: 300px;
  height: 450px;
  margin-left: -200px;
  background-color: #e5ddd5;
  margin-top: -10px;
  border-radius: 10px;
  overflow: hidden;
  flex-direction: column;
  /* Note: JS must set display: flex when opening */
}

.messages-header {
  background-color: #075e54;
  color: white;
  padding: 10px 15px;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.messages-header h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 500;
  text-align: left;
  color: #fff;
}

.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.messages-list::-webkit-scrollbar {
  width: 4px;
}

.messages-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.message-input {
  background-color: #f0f0f0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 60px;
}

.message-input input {
  border: none;
  padding: 10px;
  border-radius: 20px;
  outline: none;
  font-size: 13px;
  background: #fff;
}

#messageRecipient {
  width: 70px;
}

#messageText {
  flex: 1;
}

.message-input button {
  background-color: #075e54;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0px; /* Override previous button styles */
}

.message-input button:hover {
  background-color: #128c7e;
}

.message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.message.sent {
  align-self: flex-end;
  background-color: #dcf8c6;
  border-top-right-radius: 0;
  text-align: left;
}

.message.received {
  align-self: flex-start;
  background-color: #fff;
  border-top-left-radius: 0;
  text-align: left;
}

.message strong {
  display: block;
  font-size: 11px;
  color: #075e54;
  margin-bottom: 2px;
}

.message small {
  display: block;
  font-size: 10px;
  color: #999;
  text-align: right;
  margin-top: 4px;
}

#noMessages {
  text-align: center;
  color: #888;
  margin-top: 50%;
  font-style: italic;
}

/* Responsive adjustment for messenger */
@media screen and (max-width: 768px) {
  #messenger {
    width: 290px;
    margin-left: -190px;
  }
}

#chromeBrowser {
  display: none;
  width: 300px;
  height: 450px;
  margin-left: -200px;
  background: #f8f9fa;
  margin-top: -10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.chrome-header {
  width: 100%;
  height: 60px;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-top: 10px;
}

.google-logo {
  width: 80px;
  height: auto;
}

.chrome-search-bar {
  width: 90%;
  max-width: 280px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

#searchInput {
  flex: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
}

.search-btn {
  padding: 10px;
  border: none;
  background: #4285f4;
  cursor: pointer;
  border-radius: 0 25px 25px 0;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #3367d6;
}

.search-icon {
  width: 20px;
  height: 20px;
}

.chrome-content {
  text-align: center;
  padding: 20px;
  color: #333;
}

.chrome-content p {
  margin: 10px 0;
  font-size: 14px;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  #chromeBrowser {
    width: 280px;
    height: 400px;
    margin-left: -190px;
  }
  .chrome-header {
    height: 50px;
  }
  .google-logo {
    width: 70px;
  }
  .chrome-search-bar {
    width: 95%;
    max-width: 260px;
  }
  #searchInput {
    font-size: 14px;
    padding: 10px 12px;
  }
  .search-btn {
    padding: 8px;
  }
  .chrome-content {
    padding: 15px;
  }
  .chrome-content p {
    font-size: 12px;
  }
}

.phone-contact-number {
  margin-top: 10px;
}

.phone-contact-number img {
  margin-bottom: -6px;
}

.phone-contact-number input {
  margin: 0px 0px 0px 0px;
}

.email-contact-wrapper {
  margin: 15px 0px 0px 0px;
}

.email-contact-wrapper img {
  margin: 0px 0px -5px 0px;
}

.email-contact-wrapper select {
  outline: none;
  margin: 10px 0px 0px 30px;
}

.email-contact-wrapper select:hover {
  border-color: #12d640;
}

#showErrorContact {
  display: none;
  color: red;
}

#checkContactError {
  display: none;
}

#contactWrapper {
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 10px;
  margin: 10px 0px 0px 13px;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
}

#contactWrapper button {
  border: none;
  outline: none;
  border-radius: 5px;
  padding: 5px;
  font-size: 10px;
  background-color: #ccc;
  margin-top: 5px;
}

/* #editUserContact {
    background-color: #409a9a;
} */

#editUserContact:hover {
  /* opacity: 0.9; */
  transition: background-color 0.4s ease;
  background-color: #409a9a;
}

#deleteUserContact {
  margin-left: 5px;
}

#deleteUserContact:hover {
  background-color: rgb(220, 50, 50);
  transition: background-color 0.4s ease;
}

.userdate {
  margin: 15px 0px 0px 0px;
}

.userdate select {
  outline: none;
  margin: 10px 0px 0px 30px;
}

.userdate select:hover {
  border-color: #12d640;
}

#userdateinputimage {
  display: flex;
  gap: 7px;
}

#userdate-img img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  margin-top: 3px;
}

.userNotes {
  display: flex;
  /* gap: 5px; */
  margin-top: 15px;
}

#notesIcon img {
  width: 23px;
  height: 23px;
  object-fit: cover;
  margin: 2px 6px 0px -3px;
}

.userAddress {
  margin: 15px 0px 0px 0px;
}

.userAddress select {
  outline: none;
  margin: 10px 0px 0px 30px;
}

.userAddress select:hover {
  border-color: #12d640;
}

#locationImageInputDiv {
  display: flex;
  /* gap: 7px; */
}

#locationImageId img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  margin: 2px 10px 0px -3px;
}

#locationInput {
  margin-top: -5px;
}

#locationInput input {
  margin: 5px 0px;
}

#noContactGif {
  max-width: 200px;
}
