/* iOS-like typography */
body {
    background-color:white;
}

body.bg-light {
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif;
    font-size: 17px;
    background-color: #fafafa;
    color: #414651;
    line-height: 1.5;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;;
}

/* Headings */
h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 1rem 0;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 1rem 0;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0.75rem 0;
}

p {
    font-size: 17px;
    margin-bottom: 1rem;
}

/* Card Colors
 */



.card.bg-light {
    background: linear-gradient(135deg, #f2f2f2, #dfe9f3); transition: transform 0.3s;
    color: #535862;
    border-radius: 32px;
    padding: 1rem;
    border: none;
    box-shadow: 0 1px 4px rgba(255, 255, 255, 0.05);
}

.card.profession {


}

.card.qualification {

}

.card.job {

}
h3.tile {
    margin-top: 0px;
}

.card.educator {
    background-color: #1FA0CB !important;
    color: white;
}

.card.credential {

}


.card.icon {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.8rem;
}

.card.tile {
    width: 100%;              /* full width of column */
    height: auto;             /* dynamic height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;       /* or center, depending on content */
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.8rem;
}

.card-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0px;
}


/* Buttons */
.open-modal-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  color: #000;
  background-color: transparent;
  border: 0px;
  font-size: 0.8rem;
  padding: 4px 8px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease-in-out;
  transform: rotate(-45deg);
}

.open-modal-btn:hover {
  transform: scale(1.1);
}



.btn-primary:hover {
    background-color: #0063ce;
    border-color: #0063ce;
}

/* Navigation and spacing */
.navbar {
    background-color: white;
}

.phone-frame {
    background: black;
    border-radius: 36px;
    overflow: hidden;
    max-width: 390px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}



.tile-card {
    border-radius: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.credential-card {

}



.credential-tile {


}

.credential-tile img {
    max-height: 60%;
    max-width: 80%;
    object-fit: contain;
}

/* Mobile-optimized credential tiles */
.credential-tile-img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

.credential-tile-title {
    font-size: 0.75rem;
    line-height: 1.2;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
}

/* Credential verification status indicator */
.credential-status-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 1rem;
    line-height: 1;
    z-index: 1;
}

/* Subtle border glow for verified credentials */
.credential-verified {
    border: 2px solid rgba(25, 135, 84, 0.3) !important;
    box-shadow: 0 0 0 1px rgba(25, 135, 84, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.credential-partial {
    border: 2px solid rgba(255, 193, 7, 0.3) !important;
    box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mobile responsive credential card */
@media (max-width: 575.98px) {
    .card.icon {
        aspect-ratio: unset;
        min-height: 120px;
        padding: 0.75rem !important;
    }

    .credential-tile-img {
        max-height: 50px;
    }

    .credential-tile-title {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }

    .credential-status-icon {
        top: 4px;
        right: 4px;
        font-size: 0.85rem;
    }
}

/* Utility class for text overflow prevention */
.min-width-0 {
    min-width: 0;
}

/* Removed duplicate .glass-card definition - now using ios-glass.css */

/* Legacy glass classes - kept for backward compatibility if used elsewhere */
.glass-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(82, 44, 44, 0.08) 0%, rgba(119, 64, 64, 0.05) 30%, rgba(184, 99, 99, 0.006) 60%);
  background-blend-mode: hard-light;
  filter: blur(20px);
  backdrop-filter: blur(40px);
  z-index: 0;
}

.glass-content {
  position: relative;
  z-index: 1;
  color: grey;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

/* Removed duplicate .glass-container definition - now using ios-glass.css */




.lead {
    font-size: 0.9rem;
}
