/* Global Reset */
* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

/* BODY */
.UPbody {
  min-height: 100vh;
  background: #fef8e4;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scrolling only */
}

/* Make container fill the available vertical space */
.UPcontainer {
    display: flex;
  min-height: 100vh;
  box-sizing: border-box;
  margin: 0; /* Remove margin to prevent overflow */
  padding: 15px; /* Use padding instead of margin */
}

/* ORmenubar styles are handled by ORmenubar.css */

/* CONTENT AREA */
  .UPcontent {
  flex: 1 1 auto;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .UPcontent h1 {
    font-size: 2rem;
  margin-bottom: 30px;
  color: #6F4F37;
  font-weight: 700;
  }
  
  /* Sections */
  .UPcontent section {
  margin-bottom: 40px;
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .UPcontent h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  color: #6F4F37;
  font-weight: 600;
  border-bottom: 2px solid #6F4F37;
  padding-bottom: 10px;
  }
  
  /* Profile Picture */
  .UPprofile-picture {
    display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

/* Header buttons container */
.UPheader-buttons {
  display: flex;
  gap: 10px;
    align-items: center;
  justify-content: flex-end;
  }
  
  .UPpicture-placeholder {
  width: 100px;
  height: 100px;
    border-radius: 50%;
    background-color: #d9d9d9;
  border: 3px solid #6F4F37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #6F4F37;
  }
  
  .UPprofile-actions {
    display: flex;
    flex-direction: column;
  gap: 15px;
  }
  
  .UPupload-btn, .UPremove-btn {
  padding: 12px 20px;
    border: none;
  border-radius: 25px;
    cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  }
  
  .UPupload-btn {
  background-color: #6F4F37;
    color: #fff;
  }
  
  .UPupload-btn:hover {
  background-color: #5a3d2a;
  transform: translateY(-2px);
  }
  
  .UPremove-btn {
    background-color: transparent;
    color: #e63946;
  border: 2px solid #e63946;
  }
  
  .UPremove-btn:hover {
  background-color: #e63946;
  color: #fff;
  transform: translateY(-2px);
}

/* Edit functionality styles */
.UPinfo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.UPinfo-header h3 {
  margin: 0;
  color: #6F4F37;
  font-size: 1.2rem;
  font-weight: 600;
}

.UPedit-btn {
  padding: 10px 20px;
  background: #6F4F37;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.UPedit-btn:hover {
  background: #5a3d2a;
  transform: translateY(-2px);
}

.UPedit-form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

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

.UPform-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #6F4F37;
  font-size: 14px;
}

.UPform-input, .UPform-textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.UPform-input:focus, .UPform-textarea:focus {
  outline: none;
  border-color: #6F4F37;
  box-shadow: 0 0 0 2px rgba(111, 79, 55, 0.1);
}

.UPform-textarea {
  resize: vertical;
  min-height: 80px;
}

.UPform-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.UPsave-btn {
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.UPsave-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

.UPcancel-btn {
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.UPcancel-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.UPchange-password-btn {
  margin-left: 10px;
  padding: 6px 12px;
  background: #6F4F37;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.UPchange-password-btn:hover {
  background: #5a3d2a;
  transform: translateY(-1px);
}

.UPpassword-form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  margin-top: 15px;
}

.UPpassword-form h3 {
  margin: 0 0 15px 0;
  color: #6F4F37;
  font-size: 1.1rem;
  font-weight: 600;
}

/* QR Code Section */
.UPprofile-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.UPqr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  min-width: 160px; /* Adjusted to match holder */
  width: 190px; /* Adjusted fixed width */
}

.UPqrgenerate-btn {
  padding: 10px 20px;
  background: #6F4F37;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.UPqrgenerate-btn:hover {
  background: #5a3d2a;
  transform: translateY(-2px);
}

.UPqrpicture-placeholder {
  width: 150px; /* Keep original size */
  height: 150px; /* Keep original size */
  border-radius: 10px;
  background-color: #f0f0f0;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px; /* Smaller font */
  color: #999;
  text-align: center;
  position: relative; /* For QR code positioning */
}

/* Download QR Button */
.UPdownload-qr-btn {
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  margin-top: 0;
}

.UPdownload-qr-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.UPdownload-qr-btn i {
  font-size: 16px;
}

  
  /* Info List */
  .UPinfo-list {
    list-style: none;
  padding: 0;
  margin: 0;
  }
  
  .UPinfo-list li {
    display: flex;
    justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.UPinfo-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.UPinfo-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.UPinfo-list span:first-child {
  font-weight: 600;
  color: #6F4F37;
    font-size: 1rem;
  }
  
.UPinfo-list span:last-child {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  }

  /* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .UPcontainer {
    flex-direction: column;
    height: auto;
  }

  /* ORmenubar responsive styles are handled by ORmenubar.css */

  .UPcontent {
    margin-left: 0;
    padding: 20px;
  }

  .UPprofile-picture {

    align-items: flex-start;
    gap: 15px;
    flex: 1;
  }
  
  .UPqr-section {
    align-self: flex-start;
    order: 2;
    flex-shrink: 0;
    min-width: 160px;
  }

  .UPprofile-section {
    margin-top: 1.2vh;
  }

  .UPinfo-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .UPinfo-list li:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .UPinfo-list li:last-child span:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .UPchange-password-btn {
    margin-left: 0;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .UPcontainer {
    margin: 8px;
  }

  /* ORmenubar mobile styles are handled by ORmenubar.css */

  .UPcontent {
    padding: 15px;
  }

  .UPcontent h1 {
    font-size: 1.5rem;
  }

  .UPcontent h2 {
    font-size: 1.2rem;
  }

  .UPcontent section {
    padding: 20px;
  }

  .UPprofile-picture {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }
  
  .UPprofile-actions {
    justify-content: center;
  }
  
  .UPqr-section {
    margin: 0 auto;
    align-items: center;
  }

  .UPpicture-placeholder {
    width: 80px;
    height: 80px;
  }

  .UPdownload-qr-btn {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .UPinfo-list li:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .UPinfo-list li:last-child span:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .UPchange-password-btn {
    margin-left: 0;
  }
}

/* Extra small (<= 480px) */
@media (max-width: 480px) {
  .UPcontainer {
    margin: 5px;
  }

  /* ORmenubar extra small styles are handled by ORmenubar.css */

  .UPcontent {
    padding: 10px;
  }

  .UPcontent h1 {
    font-size: 1.3rem;
  }

  .UPdownload-qr-btn {
    font-size: 11px;
    padding: 6px 12px;
  }

  .UPcontent h2 {
    font-size: 1.1rem;
  }

  .UPcontent section {
    padding: 15px;
  }
  
  .UPprofile-picture {
    align-items: center;
    justify-content: center;
  }
  
  .UPprofile-actions {
    justify-content: center;
  }
  
  .UPqr-section {
    margin: 0 auto;
    align-items: center;
  }

  .UPinfo-list li {
    padding: 12px 15px;
  }
  
  .UPinfo-list li:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .UPinfo-list li:last-child span:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .UPinfo-list span {
    font-size: 0.9rem;
  }

  .UPchange-password-btn {
    margin-left: 0;
  }
}

/* QR Code Modal Styles */
.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.qr-modal-content {
  background: white;
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.qr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #6F4F37 0%, #8B5A3C 100%);
  color: white;
  border-radius: 20px 20px 0 0;
}

.qr-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.qr-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: bold;
}

.qr-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.qr-modal-body {
  padding: 0;
  text-align: center;
  max-height: 70vh;
  overflow: hidden;
}

.qr-modal-scrollable {
  max-height: 70vh;
  overflow-y: auto;
  padding: 30px 25px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.qr-modal-scrollable::-webkit-scrollbar {
  display: none; /* WebKit */
}

.qr-code-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

.qr-code-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-code-info {
  text-align: left;
}

.qr-description {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.qr-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.qr-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.qr-detail-item:last-child {
  border-bottom: none;
}

.qr-detail-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.qr-detail-value {
  font-weight: 700;
  color: #6F4F37;
  font-size: 0.9rem;
}

.qr-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.qr-download-btn,
.qr-close-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.qr-download-btn {
  background: #6F4F37;
  color: white;
  border: 1px solid #5a3f2e;
}

.qr-download-btn:hover {
  background: #5a3f2e;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(111, 79, 55, 0.3);
}

.qr-close-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.qr-close-btn:hover {
  background: #e9ecef;
  color: #495057;
  border-color: #adb5bd;
}

/* QR Generate Section */
.qr-generate-section {
  text-align: center;
  padding: 20px 0;
}

.qr-generate-info h4 {
  color: #6F4F37;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.qr-generate-info p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.qr-generate-actions {
  margin-top: 30px;
}

.qr-generate-btn {
  background: #6F4F37;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
}

.qr-generate-btn:hover {
  background: #5a3f2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(111, 79, 55, 0.3);
}

.qr-generate-new-btn {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-generate-new-btn:hover {
  background: #218838;
  transform: translateY(-1px);
}

/* QR Modal Responsive */
@media (max-width: 768px) {
  .qr-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .qr-modal-header {
    padding: 15px 20px;
  }
  
  .qr-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .qr-modal-body {
    padding: 20px 15px;
  }
  
  .qr-code-container {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .qr-details {
    padding: 15px;
  }
  
  .qr-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .qr-detail-value {
    font-size: 0.85rem;
  }
  
  .qr-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .qr-download-btn,
  .qr-close-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .qr-modal-content {
    width: 98%;
    margin: 5px;
  }
  
  .qr-modal-header {
    padding: 12px 15px;
  }
  
  .qr-modal-header h3 {
    font-size: 1rem;
  }
  
  .qr-modal-body {
    padding: 15px 10px;
  }
  
  .qr-code-container {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .qr-description {
    font-size: 0.9rem;
  }
  
  .qr-details {
    padding: 12px;
  }
  
  .qr-detail-label,
  .qr-detail-value {
    font-size: 0.8rem;
  }
  
  .qr-modal-actions {
    padding: 0 10px 15px;
  }
  
  .qr-download-btn,
  .qr-close-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Password Change Modal */
.password-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.password-modal-content {
  background: white;
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.password-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #6F4F37 0%, #8B5A3C 100%);
  color: white;
  border-radius: 20px 20px 0 0;
}

.password-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.password-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: bold;
}

.password-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.password-modal-body {
  padding: 0;
  text-align: left;
  max-height: 70vh;
  overflow: hidden;
}

.password-modal-scrollable {
  max-height: 70vh;
  overflow-y: auto;
  padding: 30px 25px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.password-modal-scrollable::-webkit-scrollbar {
  display: none; /* WebKit */
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.password-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-form-group label {
  font-weight: 600;
  color: #6F4F37;
  font-size: 0.9rem;
}

.password-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #495057;
  background: #fff;
  transition: all 0.2s ease;
}

.password-form-input:focus {
  outline: none;
  border-color: #6F4F37;
  box-shadow: 0 0 0 2px rgba(111, 79, 55, 0.25);
}

.password-requirements {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  margin: 10px 0;
}

.password-req-text {
  font-weight: 600;
  color: #6F4F37;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.password-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-req-list li {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-green-600 {
  color: #16a34a !important;
}

.text-red-600 {
  color: #dc2626 !important;
}

.password-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.password-change-btn,
.password-cancel-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.password-change-btn {
  background: #6F4F37;
  color: white;
  border: 1px solid #5a3f2e;
}

.password-change-btn:hover:not(:disabled) {
  background: #5a3f2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(111, 79, 55, 0.3);
}

.password-change-btn:disabled {
  background: #e0e0e0;
  color: #666;
  cursor: not-allowed;
  border-color: #ccc;
}

.password-cancel-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.password-cancel-btn:hover {
  background: #e9ecef;
  color: #495057;
  border-color: #adb5bd;
}

/* Responsive Password Modal */
@media (max-width: 768px) {
  .password-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .password-modal-header {
    padding: 15px 20px;
  }
  
  .password-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .password-modal-body {
    padding: 20px 15px;
  }
  
  .password-modal-scrollable {
    padding: 20px 15px;
  }
  
  .password-form {
    gap: 15px;
  }
  
  .password-requirements {
    padding: 15px;
    margin: 8px 0;
  }
  
  .password-req-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .password-req-list li {
    font-size: 0.8rem;
  }
  
  .password-form-input {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .password-modal-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }
  
  .password-change-btn,
  .password-cancel-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .password-modal-content {
    width: 98%;
    margin: 5px;
  }
  
  .password-modal-header {
    padding: 12px 15px;
  }
  
  .password-modal-header h3 {
    font-size: 1rem;
  }
  
  .password-modal-body {
    padding: 15px 10px;
  }
  
  .password-modal-scrollable {
    padding: 15px 10px;
  }
  
  .password-form {
    gap: 12px;
  }
  
  .password-requirements {
    padding: 12px;
    margin: 6px 0;
  }
  
  .password-req-text {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .password-req-list li {
    font-size: 0.75rem;
  }
  
  .password-form-input {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .password-modal-actions {
    margin-top: 12px;
    padding-top: 12px;
  }
  
  .password-change-btn,
  .password-cancel-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}