@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');

.id-card {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Adjust height as needed */
    border-radius: 0px;
    color: #000000;
    overflow: hidden;
}

.id-card-header {
    background: linear-gradient(135deg, #b2060a, #8e0507);
    padding: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.id-card-header img {
    width: 80px;
    height: auto;
    margin-right: 16px;
}

.id-header-text h1 {
    margin: 0;
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.id-header-text p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1;
    font-style: italic;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.id-card-body {
    flex: 1;
    padding: 32px;
    gap: 1rem;
    overflow-y: auto;
}

.photo-name-designation {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #Ffeddc;
    border-radius: 2rem;
}

.photo-name-designation .photograph {
    padding: 16px;
}

.photo-name-designation .photograph img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 2px 2px 2px #000000;
    background-color: #ffffff;
}

.photo-name-designation .info {
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.photo-name-designation .info .title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #b2060a;
}

.photo-name-designation .info .designation {
    font-size: 1.3rem;
    font-weight: 800;
    color: #000;
}

.profile-details{
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.label {
    font-weight: 700;
    color: #000000;
    display: inline;
    font-size: 22px;
}

.value {
	display: inline;
 	font-size: 22px;
 	font-weight: 400;
 	color: #000000;
}

.id-footer {
    padding: 8px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    background: linear-gradient(90deg, #b2060a, #8e0507);
    color: #fff;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.bi {
	font-weight: 800;
}

@media (max-width: 767.98px) { 
    .id-card-header {
        padding: 8px;
    }
    
    .id-card-header img {
        width: 50px;
        height: auto;
        margin-right: 8px;
    }
    
    .id-header-text h1 {
        font-size: 1.1rem;
    }
    
    .id-header-text p {
        font-size: 0.8rem;
    }
    
    .id-card-body {
        padding: 24px;
        gap: 0;
    }
    
    .photo-name-designation {
        border-radius: 1rem;
    }
    
    .photo-name-designation .photograph {
        padding: 8px;
    }
    
    .photo-name-designation .photograph img {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }
    
    .photo-name-designation .info .title {
        font-size: 1.3rem;
        font-weight: 800;
    }
    
    .photo-name-designation .info .designation {
        font-size: 1rem;
        font-weight: 800;
    }
    
    .profile-details{
        gap: 0.5rem;
    }
    
    .label {
        font-weight: 700;
        font-size: 18px;
    }
    
    .value {
         font-size: 18px;
         font-weight: 400;
    }
    
    .id-footer {
        padding: 4px;
        font-size: 12px;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px)  { 
    .id-card-header {
        padding: 8px;
    }
    
    .id-card-header img {
        width: 50px;
        height: auto;
        margin-right: 8px;
    }
    
    .id-header-text h1 {
        font-size: 1.1rem;
    }
    
    .id-header-text p {
        font-size: 0.8rem;
    }
    
    .id-card-body {
        padding: 24px;
        gap: 0;
    }
    
    .photo-name-designation {
        border-radius: 1rem;
    }
    
    .photo-name-designation .photograph {
        padding: 8px;
    }
    
    .photo-name-designation .photograph img {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }
    
    .photo-name-designation .info .title {
        font-size: 1.3rem;
        font-weight: 800;
    }
    
    .photo-name-designation .info .designation {
        font-size: 1.1rem;
        font-weight: 800;
    }
    
    .profile-details{
        gap: 0.5rem;
    }
    
    .label {
        font-weight: 700;
        font-size: 18px;
    }
    
    .value {
         font-size: 18px;
         font-weight: 400;
    }
    
    .id-footer {
        padding: 4px;
        font-size: 12px;
    }
}