html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
html, body {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  height: 100%;
  width: 100vw;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  background: linear-gradient(135deg, #e3f0ff 0%, #f8fbff 100%);
  color: #222;
}
.notch-camera {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  background: #222;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.mobile-container {
  min-height: unset;
  height: auto;
  max-height: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-x: unset;
  overflow-y: unset;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: #fff;
  margin: 0;
  max-width: 100vw;
  width: 100vw;
  position: relative;
}
.mobile-container, .main-content, .contact-list, .contact-card {
  border-top: none !important;
  border-bottom: none !important;
}
hr {
  display: none !important;
}
@media (max-width: 600px) {
  .mobile-container {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0;
    border-width: 2.5px;
    max-width: 100vw;
  }
}
@media (min-width: 601px) and (max-width: 1023px) {
  .mobile-container {
    max-width: 600px;
    margin: 40px auto 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 48px 0 rgba(0,0,0,0.18), 0 1.5px 0 #fff inset;
  }
}

/* Search Section */
.search-section {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.search-bar {
    margin-bottom: 16px;
}

.search-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

#search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

#search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Table Filters */
.table-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.table-filters select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 150px;
}

.table-filters select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.table-filters select:hover {
    border-color: #9ca3af;
}


/* Desktop styles moved to desktop.css */

/* Desktop Grid - 3 cards per row */
@media (min-width: 1024px) {
  .contacts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
  }
  
  .contact-card {
    max-width: none !important;
    width: 100% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}

@media (min-width: 1440px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1440px) {
  .mobile-container {
    max-width: 100%;
    width: 100%;
  }
  
  .contacts-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
  }
  
  .contact-card {
    padding: 24px;
  }
  
  .contact-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .contact-name {
    font-size: 1.2rem;
  }
  
  .contact-phone {
    font-size: 1.1rem;
  }
  
  .fab-add-contact {
    width: 60px;
    height: 60px;
    font-size: 24px;
    bottom: 30px;
    right: 30px;
  }
  
  .admin-link-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .admin-link {
    background: #3b82f6;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
  }
  
  .admin-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  }
}
.app-bg {
    display: none;
}
.app-header {
  background: #fff;
  color: #222;
  padding: 20px 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.app-header h1 {
  margin: 0 auto;
  font-size: 2.3rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #e3f0ff;
}
.app-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.logo-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .logo-image {
    width: 150px;
    height: 150px;
    border-radius: 24px;
  }
}

@media (min-width: 1024px) {
  .logo-image {
    width: 150px;
    height: 150px;
    border-radius: 24px;
  }
  
  .app-header h1 {
    font-size: 2.8rem;
  }
  
  .app-header {
    padding: 40px 0 32px 0;
    width: 100%;
  }
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #e3f0ff;
}
.app-description {
  margin: 0;
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
#btn-admin-login {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
  padding: 6px;
  margin-bottom: 0.5rem;
  margin-top: -38px;
  border: 2.5px solid #e0e7ef;
  transition: box-shadow 0.18s, border 0.18s;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#btn-admin-login svg {
  width: 32px;
  height: 32px;
  display: block;
}
#btn-admin-login:hover {
  box-shadow: 0 4px 16px rgba(37,99,235,0.18);
  border: 2.5px solid #2563eb;
}
.main-content {
    flex: 1;
    padding: 12px 2vw 0 2vw;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: unset;
    max-height: unset;
}
@media (min-width: 601px) {
  .main-content {
    padding: 32px 32px 32px 32px;
  }
}
.main-content::after {
  display: none;
}
.add-contact h2,
.contact-list h2 {
    margin-top: 0;
    font-size: 1.18rem;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
#contact-form label {
    font-weight: 500;
    margin-bottom: 4px;
    color: #2563eb;
    display: block;
}
#contact-form input[type="text"],
#contact-form select,
#contact-form textarea {
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1.5px solid #e5e5ea;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 1.01rem;
    outline: none;
    transition: border 0.18s;
}
#contact-form input[type="text"]:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border: 1.5px solid #007aff;
}
#contact-form textarea {
    resize: vertical;
    min-height: 40px;
    max-height: 120px;
}
#photo-preview img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    border: 2px solid #2563eb22;
    box-shadow: 0 1px 4px rgba(60,120,200,0.10);
}
#feedback-message {
    font-size: 1rem;
    min-height: 22px;
    color: #fff;
    background: #2563eb;
    border-radius: 8px;
    padding: 8px 14px;
    display: none;
    margin-bottom: 10px;
    text-align: center;
}
.btn-main {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,122,255,0.08);
    transition: background 0.18s;
}
.btn-main:hover {
    background: #005ecb;
}
.contact-list ul {
    display: flex;
    flex-direction: column;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    background: #fff;
    border-radius: 24px;
    padding: 32px 32px 32px 24px;
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(60, 120, 200, 0.10);
    display: flex;
    align-items: flex-start;
    gap: 32px;
    border: none;
    min-height: 120px;
    transition: box-shadow 0.22s, border 0.22s, transform 0.18s;
    position: relative;
    animation: fadeIn 0.4s;
}
.contact-list li:hover {
    box-shadow: 0 16px 48px rgba(60, 120, 200, 0.16);
    transform: translateY(-2px) scale(1.012);
}
.contact-list .contact-photo {
    width: 72px;
    height: 72px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #eaf6ff;
    box-shadow: 0 2px 12px rgba(60,120,200,0.10);
    background: #eaf6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2563eb;
    flex-shrink: 0;
    transition: border 0.2s;
}
.contact-list .contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    line-height: 1.6;
}
.contact-list .contact-info strong {
    font-size: 1.22rem;
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    line-height: 1.25;
    letter-spacing: 0.01em;
}
.contact-list .contact-info .motivo {
    display: inline-flex;
    align-items: center;
    background: #eaf6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.01rem;
    border-radius: 16px;
    padding: 8px 24px;
    margin-bottom: 2px;
    margin-top: 2px;
    box-shadow: 0 1px 4px rgba(60,120,200,0.06);
    letter-spacing: 0.01em;
    gap: 8px;
}
.contact-list .contact-info .phone, .contact-list .contact-info .info {
    color: #444;
    font-size: 1.07rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.92;
    line-height: 1.7;
}
.contact-list .contact-info .info {
    color: #666;
    font-size: 1.04rem;
    margin-top: 2px;
    word-break: break-word;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.contact-list .contact-info .info svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-list .contact-info svg {
    color: #2563eb;
    stroke: #2563eb;
    opacity: 1;
    width: 1.1em;
    height: 1.1em;
    min-width: 18px;
    min-height: 18px;
    max-width: 22px;
    max-height: 22px;
    margin-right: 6px;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: 2px;
    stroke-width: 2.1;
    background: none;
}
.contact-list .remove-btn {
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 7px 18px;
    font-size: 0.98rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, opacity 0.2s;
    margin-left: 10px;
    position: absolute;
    right: 18px;
    top: 18px;
    opacity: 0.85;
    box-shadow: 0 1px 4px rgba(255,77,79,0.08);
    display: none;
}
.contact-list li:hover .remove-btn {
    display: block;
}
.bottom-nav {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0 14px 0;
    z-index: 10;
    border-top: 1.5px solid #e5e5ea;
}
.nav-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 16px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:active, .nav-btn:focus {
    background: #eaf6ff;
}
.search-bar {
    width: 100%;
    margin-bottom: 16px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.search-label {
  text-align: center;
  color: #007aff;
  font-weight: 600;
  font-size: 1.13rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.search-example {
  font-size: 0.97rem;
  color: #aaa;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 0;
  letter-spacing: 0.01em;
}
#search-input {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1.5px solid #bcd6f7;
  font-size: 1.08rem;
  background: #f7fbff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 8px rgba(60,120,200,0.06);
  color: #222;
}
#search-input:focus {
    border: 1.5px solid #007aff;
    box-shadow: 0 2px 12px #007aff22;
}
#search-input::placeholder {
  color: #888;
  opacity: 1;
  font-size: 1.01rem;
}
.fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 100;
  background: #007aff;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,122,255,0.18);
  border-radius: 50%;
  padding: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  animation: fabIn 0.4s;
}
.fab svg {
  display: block;
  width: 36px;
  height: 36px;
}
.fab:active, .fab:focus, .fab:hover {
  box-shadow: 0 8px 32px rgba(0,122,255,0.22);
  transform: scale(1.08);
  background: #005ecb;
}
@keyframes fabIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 900px) {
    .mobile-container {
        max-width: 99vw;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: 0 2px 16px rgba(60,120,200,0.10);
    }
    .main-content {
        padding: 18px 4vw 0 4vw;
    }
    .bottom-nav {
        border-radius: 0;
    }
    .fab {
        right: 18px;
        bottom: 38px;
        width: 54px;
        height: 54px;
    }
    .fab svg {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 600px) {
    .mobile-container {
        max-width: 100vw;
        border-radius: 0;
        margin: 0;
        min-height: 100vh;
        box-shadow: none;
    }
    .main-content {
        padding: 12px 2vw 0 2vw;
    }
    .bottom-nav {
        border-radius: 0;
        padding-bottom: 4px;
    }
    .fab {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
    .fab svg {
        width: 28px;
        height: 28px;
    }
    .contact-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 8px;
        gap: 18px;
        border-radius: 18px;
    }
    .contact-list .contact-photo {
        width: 54px;
        height: 54px;
        margin-bottom: 6px;
    }
    .contact-list .contact-info strong {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }
    .contact-list .contact-info .motivo {
        font-size: 0.98rem;
        padding: 6px 12px;
        border-radius: 12px;
    }
    .contact-list .contact-info {
        gap: 10px;
    }
    .contact-list .remove-btn {
        display: block;
        position: static;
        margin: 10px 0 0 0;
        width: 100%;
        opacity: 1;
    }
}
@media (min-width: 901px) {
    .mobile-container {
        max-width: 480px;
        margin: 40px auto 0 auto;
        border-radius: 36px;
    }
    .main-content {
        padding: 32px 32px 90px 32px;
    }
    .bottom-nav {
        max-width: 480px;
        border-radius: 0 0 24px 24px;
    }
    .fab {
        right: calc(50% - 220px);
        bottom: 90px;
    }
}
#add-contact-section {
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
} 
.not-found-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(60, 120, 200, 0.08);
    border: 1.5px solid #e3eefd;
    padding: 22px 24px;
    margin: 18px 0 0 0;
    min-height: 110px;
    justify-content: flex-start;
    animation: fadeIn 0.3s;
}
.not-found-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf6ff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    box-shadow: 0 1px 4px rgba(60,120,200,0.08);
}
.not-found-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.not-found-title {
    font-size: 1.08rem;
    color: #e53935;
    font-weight: 700;
    margin-bottom: 2px;
}
.not-found-question {
    font-size: 1.01rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 6px;
}
.not-found-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-main.btn-small {
    font-size: 0.98rem;
    padding: 8px 18px;
    border-radius: 12px;
    min-width: 120px;
    box-shadow: 0 1px 4px rgba(60,120,200,0.08);
}
.whatsapp-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: color 0.2s;
    border-bottom: 1.5px dotted #2563eb44;
}
.whatsapp-link:hover {
    color: #128c7e;
    border-bottom: 1.5px solid #128c7e;
}
@media (max-width: 600px) {
    .not-found-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 10px;
        gap: 10px;
    }
    .not-found-icon {
        width: 44px;
        height: 44px;
    }
    .btn-main.btn-small {
        min-width: 100px;
        padding: 8px 10px;
    }
} 
.admin-bar {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    padding: 10px 24px 0 0;
    pointer-events: none;
}
.admin-btn {
    background: linear-gradient(90deg, #3a8dde 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60,120,200,0.10);
    transition: background 0.2s;
    pointer-events: all;
}
.admin-btn:hover {
    background: linear-gradient(90deg, #2563eb 0%, #3a8dde 100%);
}
.admin-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 60, 120, 0.18);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.admin-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(60,120,200,0.18);
  padding: 32px 28px 24px 28px;
  min-width: 280px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.admin-modal-content h2 {
  margin-top: 0;
  color: #2563eb;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}
#admin-login-password {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #bcd6f7;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  margin-bottom: 12px;
  width: 100%;
}
#admin-login-password:focus {
  border: 1.5px solid #2563eb;
}
.admin-error {
  color: #e53935;
  font-size: 0.98rem;
  margin-top: 4px;
  min-height: 18px;
  text-align: center;
}
@media (max-width: 600px) {
    .admin-modal-content {
        padding: 18px 8vw 14px 8vw;
        min-width: 0;
    }
    .admin-bar {
        padding: 8px 8px 0 0;
    }
} 
.admin-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    position: static;
    left: unset;
    transform: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(60,120,200,0.10);
    border: 2px solid #eaf6ff;
    width: 28px;
    height: 28px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.admin-lock svg {
    width: 20px;
    height: 20px;
}
.admin-lock:active, .admin-lock:focus, .admin-lock:hover {
    background: #eaf6ff;
    box-shadow: 0 4px 16px rgba(60,120,200,0.18);
    transform: scale(1.08);
}
@media (max-width: 900px) {
    .bottom-nav {
        max-width: 98vw;
    }
    .admin-lock svg {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 600px) {
    .bottom-nav {
        max-width: 100vw;
    }
    .admin-lock svg {
        width: 24px;
        height: 24px;
    }
} 
.admin-area-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 60, 120, 0.18);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.admin-area-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(60,120,200,0.18);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 98vw;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  margin: 0 auto;
  border: none;
  overflow: hidden;
}
.admin-area-title {
  font-size: 1.35rem;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.01em;
}
.admin-area-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  padding: 0;
  transition: color 0.18s;
}
.admin-area-close:hover {
  color: #2563eb;
}
#admin-area-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
#admin-area-form input[type="text"],
#admin-area-form select,
#admin-area-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  font-size: 1rem;
  margin-bottom: 4px;
  background: #f8fafc;
  color: #222;
  transition: border 0.18s;
}
#admin-area-form input[type="text"]:focus,
#admin-area-form select:focus,
#admin-area-form textarea:focus {
  border: 1.5px solid #2563eb;
  outline: none;
}
#admin-area-form label {
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 2px;
}
#admin-area-form button.btn-main {
  margin-top: 8px;
}
.admin-area-contacts-title {
  font-size: 1.1rem;
  color: #2563eb;
  font-weight: 600;
  margin: 18px 0 8px 0;
  text-align: center;
}
.admin-area-contacts-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  width: 100%;
  max-height: 32vh;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .admin-area-contacts-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .admin-area-contacts-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.admin-area-contacts-list li {
  min-width: 0;
}
@media (max-width: 600px) {
  .admin-area-content {
    padding: 14px 2vw 10px 2vw;
    min-width: 0;
    border-radius: 14px;
    max-width: 100vw;
  }
  .admin-area-title {
    font-size: 1.1rem;
  }
}
.admin-area-contacts-list li {
  background: #f8fafc;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(60,120,200,0.08);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.18s, background 0.18s;
  border: 1.5px solid #e5e7eb;
  position: relative;
}
.admin-area-contacts-list li:hover {
  box-shadow: 0 4px 24px rgba(60,120,200,0.13);
  background: #e0e7ff;
}
.admin-area-contacts-list .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.admin-area-contacts-list .contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-area-contacts-list .contact-name {
  font-weight: 700;
  color: #222;
  font-size: 1.08rem;
}
.admin-area-contacts-list .contact-phone a {
  color: #22c55e;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.98rem;
}
.admin-area-contacts-list .contact-badge-motivo {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 10px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.admin-area-contacts-list .contact-badge-motivo.pix {
  background: #d1fae5;
  color: #047857;
}
.admin-area-contacts-list .contact-badge-motivo.roubo {
  background: #fee2e2;
  color: #b91c1c;
}
.admin-area-contacts-list .contact-badge-motivo.suspeito {
  background: #fef9c3;
  color: #b45309;
}
.admin-area-contacts-list .contact-badge-motivo.nao {
  background: #e0e7ff;
  color: #2563eb;
}
.admin-area-contacts-list .contact-status {
  font-size: 0.92rem;
  font-weight: bold;
  border-radius: 8px;
  padding: 2px 10px;
  margin-top: 2px;
  margin-bottom: 2px;
  display: inline-block;
}
.admin-area-contacts-list .contact-status.validado {
  background: #dcfce7;
  color: #15803d;
}
.admin-area-contacts-list .contact-status.pendente {
  background: #fef9c3;
  color: #b45309;
}
.admin-area-contacts-list .admin-btn {
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  margin-left: 4px;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-area-contacts-list .admin-btn:hover {
  background: #2563eb22;
}
@media (max-width: 600px) {
  .admin-area-contacts-list li {
    padding: 12px 6px;
    gap: 8px;
  }
  .admin-area-contacts-list .avatar {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
} 
.contact-card-simple {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(60, 120, 200, 0.10);
    padding: 28px 28px 22px 22px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: none;
    min-height: 90px;
    transition: box-shadow 0.18s, border 0.18s, transform 0.14s;
    position: relative;
    animation: fadeIn 0.4s;
}
.card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}
.card-row-number {
    justify-content: space-between;
    margin-top: 2px;
    margin-bottom: 0;
}
.contact-card-simple .contact-photo {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 2.5px solid #eaf6ff;
    background: #eaf6ff;
    box-shadow: 0 1px 6px rgba(60,120,200,0.08);
    font-weight: 700;
    font-size: 1.1rem;
    color: #2563eb;
    flex-shrink: 0;
}
.contact-card-simple .contact-name {
    font-size: 1.18rem;
    color: #1a237e;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.contact-card-simple .contact-phone {
    font-size: 1.05rem;
    color: #444;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.motivo-badge {
    display: inline-block;
    background: #eaf6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.01rem;
    border-radius: 14px;
    padding: 7px 22px;
    box-shadow: 0 1px 4px rgba(60,120,200,0.06);
    letter-spacing: 0.01em;
    margin-top: 4px;
}
.contact-info-btn {
    background: #eaf6ff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
    box-shadow: 0 1px 4px rgba(60,120,200,0.08);
    margin-left: 8px;
}
.contact-info-btn:hover {
    background: #d0eaff;
    transform: scale(1.08);
}
.contact-info-btn svg {
    display: block;
}
/* Pop-up de detalhes do contato */
.contact-detail-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 60, 120, 0.13);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}
.contact-detail-content {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(60,120,200,0.18);
    padding: 36px 32px 28px 32px;
    min-width: 320px;
    max-width: 96vw;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 18px;
}
.contact-detail-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #2563eb;
    cursor: pointer;
    font-weight: 700;
    z-index: 2;
    transition: color 0.2s;
}
.contact-detail-close:hover {
    color: #ff4d4f;
}
.contact-detail-photo-name {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
}
.contact-detail-name {
    font-size: 1.25rem;
    color: #1a237e;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.contact-detail-info {
    width: 100%;
    font-size: 1.08rem;
    color: #222;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (max-width: 600px) {
    .contact-card-simple {
        padding: 14px 6px 10px 6px;
        border-radius: 14px;
        gap: 8px;
    }
    .contact-card-simple .contact-photo {
        width: 38px;
        height: 38px;
    }
    .contact-card-simple .contact-name {
        font-size: 1.01rem;
    }
    .motivo-badge {
        font-size: 0.95rem;
        padding: 5px 10px;
        border-radius: 8px;
    }
    .contact-info-btn {
        width: 28px;
        height: 28px;
    }
    .contact-detail-content {
        padding: 14px 2vw 10px 2vw;
        min-width: 0;
        border-radius: 14px;
    }
    .contact-detail-photo-name {
        gap: 10px;
    }
    .contact-detail-name {
        font-size: 1.05rem;
    }
} 
.compact-main-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  position: relative;
}
.contact-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6f7f9;
  border: 1.5px solid #e5e5ea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #007aff;
}
.contact-photo-initials {
  background: #eaf3ff;
  color: #007aff;
}
.contact-main-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
}
.contact-name {
  font-size: 1.08rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 0;
}
.contact-phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-phone {
  font-size: 0.97rem;
  color: #007aff;
  font-weight: 500;
}
.copy-phone-btn {
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.14s;
  display: flex;
  align-items: center;
}
.copy-phone-btn:hover {
  background: #eaf3ff;
}
.motivo-badge {
  background: #eaf3ff;
  color: #007aff;
  font-size: 0.89rem;
  border-radius: 10px;
  padding: 3px 12px;
  font-weight: 500;
  margin-top: 2px;
}
.contact-info-btn {
  background: #f6f7f9;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  box-shadow: none;
  border: 1.5px solid #e5e5ea;
  transition: background 0.14s, border 0.14s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}
.contact-info-btn:hover {
  background: #eaf3ff;
  border: 1.5px solid #007aff;
}
.contact-card-compact {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  padding: 12px 16px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  border: none;
  min-height: 40px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.14s;
  position: relative;
  animation: fadeIn 0.3s;
}
.contact-card-compact:hover {
  box-shadow: 0 6px 18px rgba(0,122,255,0.10);
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 600px) {
    .contact-card-compact {
        padding: 7px 4px;
        border-radius: 10px;
    }
    .compact-row {
        gap: 5px;
    }
    .contact-card-compact .contact-photo {
        width: 28px;
        height: 28px;
    }
    .contact-card-compact .contact-name {
        font-size: 0.93rem;
        max-width: 60px;
    }
    .contact-card-compact .contact-phone {
        font-size: 0.91rem;
        max-width: 60px;
    }
    .contact-card-compact .motivo-badge {
        font-size: 0.85rem;
        padding: 2px 6px;
        border-radius: 6px;
    }
    .contact-card-compact .contact-info-btn {
        width: 22px;
        height: 22px;
    }
} 
.compact-row-badge {
    display: flex;
    align-items: flex-start;
    margin-left: 48px;
    margin-top: 2px;
}
@media (max-width: 600px) {
    .compact-row-badge {
        margin-left: 32px;
    }
} 
.search-example {
  font-size: 0.97rem;
  color: #aaa;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 0;
  letter-spacing: 0.01em;
} 
#contacts {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 18px;
}
@media (min-width: 601px) {
  #contacts {
    max-height: 400px;
  }
} 
.badge-pendente {
  background: #fff3cd;
  color: #b8860b;
  font-size: 0.89rem;
  border-radius: 8px;
  padding: 3px 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px #ffeeba44;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
span[style*='color:green'] {
  background: #e6f9e6;
  color: #1a7f37 !important;
  font-size: 0.89rem;
  border-radius: 8px;
  padding: 3px 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px #b6f7c6;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-list li, .admin-area-contacts-list li {
  animation: fadeInCard 0.4s;
}
.btn-validar {
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 1px 4px rgba(0,122,255,0.08);
  vertical-align: middle;
}
.btn-validar:hover {
  background: #005ecb;
} 
.btn-voltar {
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 8px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 18px;
  margin-top: 0;
  margin-left: 0;
  box-shadow: 0 1px 6px rgba(0,122,255,0.08);
  transition: background 0.18s;
  display: inline-block;
}
.btn-voltar:hover {
  background: #005ecb;
} 
.btn-whatsapp-popup {
  display: inline-block;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(37,211,102,0.10);
  transition: background 0.18s;
}
.btn-whatsapp-popup:hover {
  background: #128c7e;
  color: #fff;
}
@media (max-width: 600px) {
  .btn-whatsapp-popup {
    width: 100%;
    padding: 12px 0;
    font-size: 1.01rem;
  }
} 
.detail-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.detail-phone {
  font-weight: 500;
  color: #007aff;
  font-size: 1.08rem;
} 
.success-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 60, 120, 0.18);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.success-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(60,120,200,0.18);
  padding: 36px 32px 28px 32px;
  min-width: 280px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-modal-title {
  font-size: 1.25rem;
  color: #007aff;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.success-modal-msg {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 600px) {
  .success-modal-content {
    padding: 14px 2vw 10px 2vw;
    min-width: 0;
    border-radius: 14px;
  }
  .success-modal-title {
    font-size: 1.05rem;
  }
} 
.contact-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 60, 120, 0.18);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
  overflow-y: auto;
  height: 100vh;
  min-height: 100vh;
}
.contact-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(60,120,200,0.18);
  padding: 32px 18px 24px 18px;
  min-width: 280px;
  max-width: 96vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
@media (max-width: 600px) {
  .contact-modal {
    align-items: flex-start;
    height: 100vh;
    min-height: 100vh;
  }
  .contact-modal-content {
    width: 100vw;
    min-width: 0;
    border-radius: 0;
    padding: 12px 2vw 10px 2vw;
  }
} 
.btn-editar-contato {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-editar-contato:hover {
  background: #1741a6;
}
.btn-remover-contato {
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-remover-contato:hover {
  background: #c82333;
} 
.fab-add-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 1000;
  transition: background 0.2s;
}
.fab-add-contact:hover {
  background: #0056b3;
} 
.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}
.close-modal:hover {
  color: #007bff;
} 
/* Toasts */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  max-width: 90vw;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  background: rgba(255,255,255,0.95);
  color: #222;
  border: 1.5px solid #e5e7eb;
  pointer-events: all;
  animation: toast-in 0.25s cubic-bezier(.4,1.4,.6,1) both;
}
.toast-success {
  border-color: #4ade80;
  background: linear-gradient(90deg, #e0ffe6 0%, #f0fff4 100%);
  color: #166534;
}
.toast-error {
  border-color: #f87171;
  background: linear-gradient(90deg, #fff1f2 0%, #ffe4e6 100%);
  color: #991b1b;
}
.toast-info {
  border-color: #60a5fa;
  background: linear-gradient(90deg, #eff6ff 0%, #e0f2fe 100%);
  color: #1e3a8a;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-30px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

/* Rodapé profissional */
.footer-profissional {
  width: 100%;
  background: #222;
  color: #fff;
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: 0.98rem;
  font-family: 'Inter', 'Poppins', sans-serif;
  letter-spacing: 0.01em;
  margin-top: 32px;
}
.footer-profissional a {
  color: #ffcc33;
  text-decoration: none;
  font-weight: 600;
}
.footer-profissional a:hover {
  text-decoration: underline;
}

/* Avatar padrão */
.default-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  border: 1.5px solid #ccc;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .toast-container {
    right: 8px;
    top: 8px;
  }
  .footer-profissional {
    font-size: 0.92rem;
    padding: 14px 0 8px 0;
  }
} 
/* Card de contato moderno */
.contact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  box-shadow: 0 4px 24px rgba(37,99,235,0.13);
  transform: translateY(-2px) scale(1.01);
}
.contact-main {
  flex: 1;
  min-width: 0;
}
.contact-name {
  font-weight: 700;
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 0.1rem;
  word-break: break-word;
}
.contact-phone {
  font-size: 0.98rem;
  color: #2563eb;
  margin-bottom: 0.2rem;
}
.contact-badge-motivo {
  display: inline-block;
  background: #fef9c3;
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0.6rem;
  padding: 0.18rem 0.7rem;
  margin-top: 0.2rem;
}
.avatar, .avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Botão info */
.info-btn {
  background: none;
  border: none;
  margin-left: 0.5rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 50%;
  transition: background 0.18s;
}
.info-btn:hover {
  background: #f3f4f6;
}

/* Toasts e feedbacks */
.toast-container {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.3rem;
  border-radius: 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #fff;
  color: #222;
  animation: modal-in 0.3s;
}
.toast-success { background: #dcfce7; color: #15803d; }
.toast-error { background: #fee2e2; color: #b91c1c; }
.toast-info { background: #dbeafe; color: #2563eb; }
@keyframes toast-out {
  to { opacity: 0; transform: translateY(-20px) scale(0.98); }
}

/* Acessibilidade: foco visível */
button:focus, .info-btn:focus, .close-modal:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Mobile ajustes */
@media (max-width: 600px) {
  .success-modal-content,
  .contact-modal-content,
  .modal-content,
  .admin-area-content {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
  .contact-card {
    padding: 0.8rem 0.5rem;
    gap: 0.7rem;
  }
  .avatar, .avatar-fallback {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
} 
.alert-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.alert-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 92vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  margin: 0 auto;
}

.close-modal-alert {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
}

.close-modal-alert:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #222;
}

.alert-modal-icon {
  margin-bottom: 8px;
}

.check-circle {
  display: inline-block;
}

.alert-modal-title {
  font-size: 1.25rem;
  color: #15803d;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.4;
}

.success-icon {
  font-size: 1.3rem;
  color: #22c55e;
  margin-right: 6px;
}

.alert-modal-msg {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.6;
  max-width: 100%;
}

.alert-modal-msg strong {
  color: #15803d;
  font-weight: 600;
}

.alert-hint {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 8px;
  font-style: italic;
}

.alert-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.btn-whatsapp-popup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
  transition: background 0.2s;
  width: 100%;
}

.btn-whatsapp-popup:hover {
  background: #128c7e;
  color: #fff;
}

.btn-whatsapp-popup svg {
  flex-shrink: 0;
}

.btn-close-alert {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.btn-close-alert:hover {
  background: #e5e7eb;
  color: #374151;
}

@media (max-width: 600px) {
  .alert-modal {
    padding: 16px;
  }
  
  .alert-modal-content {
    padding: 32px 24px 24px 24px;
    min-width: 0;
    border-radius: 20px;
    max-width: 100%;
    gap: 16px;
  }
  
  .alert-modal-title {
    font-size: 1.15rem;
    gap: 8px;
  }
  
  .alert-modal-msg {
    font-size: 0.95rem;
  }
  
  .btn-whatsapp-popup {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .close-modal-alert {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  
  .alert-modal-icon svg {
    width: 56px;
    height: 56px;
  }
} 
.btn-cancel {
  background: #eee !important;
  color: #2563eb !important;
  border: 1.5px solid #2563eb !important;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.btn-cancel:hover {
  background: #2563eb !important;
  color: #fff !important;
}
#admin-area-new {
  margin-bottom: 10px;
  align-self: flex-end;
}
#admin-area-form[style*='display:none'] {
  margin-bottom: 0 !important;
} 
.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0 0;
}
.admin-pagination-btn {
  background: #f3f4f6;
  color: #2563eb;
  border: 1.5px solid #2563eb33;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.admin-pagination-btn.active, .admin-pagination-btn:focus {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.admin-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
} 
/* Badge de motivo - cores específicas (reforçado para tela principal) */
.contact-badge-motivo.motivo-pix { background: #d9f99d !important; color: #365314 !important; }
.contact-badge-motivo.motivo-roubo { background: #fee2e2 !important; color: #b91c1c !important; }
.contact-badge-motivo.motivo-suspeito { background: #fef9c3 !important; color: #b45309 !important; }
.contact-badge-motivo.motivo-nao { background: #dbeafe !important; color: #1d4ed8 !important; }
.contact-badge-motivo.motivo-golpe-link { background: #ede9fe !important; color: #7c3aed !important; }
.contact-badge-motivo.motivo-golpe { background: #fef3c7 !important; color: #b45309 !important; }
.contact-badge-motivo.motivo-golpe-olx { background: #fce7f3 !important; color: #be185d !important; }
.contact-badge-motivo.motivo-assalto { background: #fecaca !important; color: #7f1d1d !important; }
.contact-badge-motivo.motivo-nao-local-publico { background: #e5e7eb !important; color: #374151 !important; } 
 
 / *   L i n k   p a r a   � r e a   a d m i n i s t r a t i v a   * / 
 
 . a d m i n - l i n k - c o n t a i n e r   {   p o s i t i o n :   f i x e d ;   t o p :   2 0 p x ;   r i g h t :   2 0 p x ;   z - i n d e x :   1 0 0 0 ;   } 
 
 . a d m i n - l i n k   {   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   g a p :   8 p x ;   b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 9 ) ;   b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ;   p a d d i n g :   1 2 p x   1 6 p x ;   b o r d e r - r a d i u s :   2 5 p x ;   t e x t - d e c o r a t i o n :   n o n e ;   c o l o r :   # 3 7 4 1 5 1 ;   f o n t - w e i g h t :   6 0 0 ;   f o n t - s i z e :   1 4 p x ;   b o x - s h a d o w :   0   4 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ;   t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;   b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ;   } 
 
 . a d m i n - l i n k : h o v e r   {   b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   1 ) ;   t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;   b o x - s h a d o w :   0   6 p x   2 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ;   c o l o r :   # 1 f 2 9 3 7 ;   } 
 
 