
html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

body.profile {
  font-family: Arial, sans-serif;
  background-color: #e0f2f1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  margin-top: 80px;
  padding-bottom: 80px;
}
.profile-container {
  /* background: #f3f6fa; */
  /* background-color: {{ $qrCode->background_color ?? '#26a69a' }}; */
  width: 90%;
  max-width: 400px;
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header-section {
  margin-bottom: 20px;
}
.profile-name {
  /* color: #1e2d3b; */
  font-size: 24px;
  margin: 10px 0;
}
.profile-slogan {
  /* color: #6b7c8c; */
  font-size: 16px;
  margin-bottom: 20px;
}

.icon-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.icon-button {
  color: #333;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}
.icon-button:hover {
  color: #40586f;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-button {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}
.social-button:hover {
  background: #ddd;
}
.no-data-message {
  text-align: center;
  color: #333;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
}
.footer-section {
  margin-top: 20px;
  color: #1e2d3b;
  font-size: 14px;
}
body.login {
    font-family: 'Tahoma', sans-serif;
    background: linear-gradient(135deg, #2980b9, #6dd5fa);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #2980b9;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #2471a3;
}

.error-message {
    color: red;
    margin-bottom: 15px;
    text-align: center;
}

body.client {
    font-family: 'Almarai', sans-serif;
    background: #f0f0f0;
    margin: 0;
    padding: 30px 10px;
}

.card {
    background: #d0eaff;
    border-radius: 20px;
    margin: 30px auto;
    padding: 30px 20px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    position: relative;
    text-align: center;
}

.card h2 {
    margin-bottom: 5px;
    color: #007bff;
    font-size: 24px;
}

.card p.title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.info {
    max-width: 320px;
    margin: 0 auto 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e8f4ff;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.info-row .label {
    font-weight: 600;
    color: #1a3e72;
}

.info-row .value {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.info-row .value a:hover {
    text-decoration: underline;
    color: #003d80;
}

.qr-section {
    margin-top: 30px;
}

.nfc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.nfc-row img {
    width: 20px;
    height: 20px;
}

.copy-button {
    margin: 12px 0;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.3s;
    display: inline-block;
}

.copy-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

@media print {

    .card {
        background-color: #5498cf !important;
        color: #000;
        margin: 0 auto;
        width: 100%;
        box-shadow: none;
    }

    .copy-button,
    .no-print {
        display: none;
    }

}
.body-edit {
    font-family: 'Almarai', sans-serif;
    background: linear-gradient(to left, #c6f0f8, #eaf6f6);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.card-custom {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 100%;
    max-width: 1000px;
}
.qrcode-img{
    text-align: center;
    margin-bottom: 20px;
    padding-top: 7%;
}
.page-header {
    text-align: center;
    margin-bottom: 40px;
}
.page-header h2 {
    color: #0077b6;
    font-weight: bold;
}
label {
    margin-bottom: 2%;
    color: #3b3b3b;
}
.form-control {
    border-radius: 10px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
}
.btn-submit {
    background-color: #0077b6;
    color: white;
    padding: 12px 40px;
    border-radius: 12px;
    font-size: 18px;
    transition: 0.3s;
}
.btn-submit:hover {
    background-color: #005f8a;
}
.form-section {
    margin-bottom: 20px;
}

input::placeholder,
textarea::placeholder {
    color: #cbcaca !important;
    opacity: 1;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #d6d3d3 !important;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #d6d1d1 !important;
}

.btn-add-contact {
  display: inline-block;
  padding: 10px 20px;
  margin: 15px auto;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
}
.btn-add-contact:hover {
  background-color: #1a3e72;
  color: white;
  text-decoration: none;
}
a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  color: #003d80;
  text-decoration: underline;
}
