
/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

@media screen and (max-width: 300px) {
    .certificate-container,
    .content-1 {
        padding: 10px;
    }
    .white-button {
        width: 100%;
        max-width: 100%;
    }
    .profile-avatar {
        flex-direction: row;
    }

    .avatar {
        width: 40px; /* Adjust avatar size for smaller screens */
        height: 40px;
        font-size: 16px;
    }

    .profile-info {
        display: flex;
        flex-direction: column; /* Stack name and credentials */
    }
}

/* Adjust images for smaller screen sizes */
@media screen and (max-width: 390px) {  /* iPhone 12 Pro screen width */
    .certificate-container {
        flex-direction: column; /* Stack the images vertically */
        align-items: center;  /* Center align the images */
    }

    .sample-cert {
        width: 90%;  /* Reduce the width of the certificate image */
        margin-bottom: 20px;  /* Add space below the certificate image */
    }

    .psw_logo {
        width: 30%;  /* Reduce the width of the PSW logo */
        margin-top: 10px;  /* Add space above the PSW logo */
    }

    .share-card {
        display:none;
    }
}

/* Main Section */
@media screen and (max-width: 768px) {
    .content-1 {
        flex-direction: column;
        text-align: center;
    }
    .share-card {
        max-width: 100%;
    }
    .card-custom-card-shadow-lg {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .custom-card,
    .special-card {
        width: 90%;
        max-width: 100%;
    }
}

.psw_logo {
    margin: 20px auto;
    width: 10%;
    height: 10%;
    position: relative;
    display: block;
}


.certificate-container {
    background: rgba(128, 128, 128, 0.6);
    padding: 20px;
    max-width: 1300px;
    margin: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display:flex;
    align-content: center;
}

.sample-cert {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    /*border-radius: 5%;*/
    position: relative;
    display: block;
}






.content-1 {
    display: flex;  /* Enables side-by-side layout */
    justify-content: space-between; /* Creates space between elements */
    align-items: center; /* Aligns items vertically */
    background: white;
    padding: 20px;
    max-width: 1300px;
    margin: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.content-1-container {
    flex: 1;
    text-align: left;
    padding-right: 20px;
    width: 100%;
}


.nacc {
    display: flex;
}

.nacc img {
    height: 30px;
    width: 30px;
    margin: 5px;
    padding: 0.1rem;
}


/* Left Content */
.content-container {
    flex: 1; /* Takes remaining space */
    text-align: left;
    padding-left: 20px;
    margin-left: 20px;
}
h3{
    padding-left: 0;
    margin-left: 0;
}
   

.content-1-icons {
    display: flex;
    justify-content: center;
    opacity: 1;
    gap: 4px;
}

.content-1-icons img {
    width: 30px;
    height: 30px;
    margin-right: 2px;
    padding: 8px;
    vertical-align: middle;
    
}

.content-1-buttons {
    display: none;
    gap: 20px;
    padding: 5px;
}

.content-1-buttons button{
    padding:2px;
    margin-right: 40px;
    border: none;
}

.show-more-btn{
    border-style: none;
    padding: 5px;
}


/* show buttons on smaller screens */
@media screen and (max-width: 768px) {
    .content-1-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-top: 10px;
        overflow: hidden;
    }

    .content-1-buttons button {
        border-radius: 5px;
        border-width: 1px;
    }

    .content-1-icons{
        display: none;
    }
}




/* Container for the certificate info and cards */
/* Container for the certificate info and cards */
.container {
    display: flex;
    flex-wrap: wrap; /* Ensures that the content wraps properly on smaller screens */
}

/* Certificate info section */
.certificate-info {
    flex: 1;
    min-width: 100%;
    margin-bottom: 30px;
}

/* Cards container */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Ensure cards are full-width on mobile */
@media (max-width: 768px) {
    .w-50 {
        width: 100%; /* Ensures the info section takes up full width */
    }
    
    .card-container {
        margin-top: 20px; /* Adds some space between the sections */
    }

    .card {
        width: 100%;
    }
}

/* Styling for individual card elements */
.custom-card, .special-card {
    width: 100%;
    box-sizing: border-box;
}

.white-button {
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px 20px;
    cursor: pointer;
}

.white-button:hover {
    background-color: #f0f0f0;
}






.profile-container {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sign-in{
    margin-bottom: 20px;
    font-size: 14px;
    text-decoration: none !important;
    font-weight: bold;
}
.sign-in:hover{
    text-decoration: underline;
}
.profile-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
}
.avatar {
    width: 30px;
    height: 30px;
    background-color: blue;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    
}
.profile-info {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.view-credentials {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    display: block;
}
.view-credentials:hover {
    text-decoration: none;
}


/* Right Share Card */
.share-card {
    flex: 1; /* Takes equal space as .content-container */
    background: rgb(1, 1, 87);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: white;
    max-width: 400px;
}

/* Share Header - Flexbox for text and badge */
.share-header {
    display: flex;
    justify-content: space-between; /* Places text on the left and image on the right */
    align-items: center;
}

/* Share Text (h2 and p) */
.share-text {
    text-align: left; /* Aligns text to the left */
    color: white;
}

/* Quality Badge */
.quality-badge {
    width: 50px; /* Adjust size as needed */
    height: auto;
    margin-left: 10px;
}

.share-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Share Icons */
.share-icons img {
    width: 40px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f4f4f4;
    padding: 0.4rem;
    size: 0rem;
}

/* Button */
.linkedin {
    background: white;
    color: #0077B5;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.linkedin:hover {
    opacity: 0.8;
}

/*section*/
.nacc img {
    height: 30px;
    width: 30px;
    margin: 5px;
    padding: 0.1rem;
}

.card-large-shadow-lg p-4 {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 20px;
    padding: 20px;
    line-height: 1.6;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    position: relative;
    width: 100%;
    border: 1px solid#ccc;
}



p {
    flex: 1;
    margin-right: 20px;
}


/* Style the certification module list */
ul {
    list-style: none;
    padding: 0;
}



/* Highlighting the issued and expiry dates */
.col-md-6 {
    display: flex;
    gap: 10px;
}    
ul{
    list-style-type: disc;/*use dots as bullets*/
    flex: 1;
    margin-right: 20px;
}

.card-custom-card-shadow-lg{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    
}

.custom-card{
    min-width: 200px;
    margin-left: auto;
    margin-bottom: 20px;
    gap: 20px;
    max-width: 100%;
    flex: 1;
}

.white-button {
    background-color: white !important;
    color: black !important;
    border: 2px solid black !important;
    width: 100% !important; /* Ensure the button takes full width */
    max-width: 300px; /* Adjust width */
    display: block !important; /* Ensure width is applied */
    text-align: center;
    padding: 15px 30px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    appearance: none;
    outline: none;
    box-shadow: none !important; /* Remove unwanted shadow */
}
.white-button:hover, 
.white-button:focus, 
.white-button:active {
    background-color: white !important; 
    color: black !important;
    border: 2px solid black !important;
    box-shadow: none !important;
}

.card-special-card-shadow-lg{
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
        
}

.special-card{
    min-width: 200px;
    margin-left: auto;
    margin-bottom: 20px;
    max-width: 100%;
    flex: 1;
    gap: 20px;
}

.white-button {
    background-color: white !important;
    color: black !important;
    border: 1px solid grey !important;
    width: 100% !important; /* Ensure the button takes full width */
    max-width: 350px; /* Adjust width */
    display: block !important; /* Ensure width is applied */
    text-align: center;
    padding: 15px 30px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    appearance: none;
    outline: none;
    box-shadow: none !important; /* Remove unwanted shadow */
}
.white-button:hover, 
.white-button:focus, 
.white-button:active {
    background-color: white !important; 
    color: black !important;
    border: 2px solid black !important;
    box-shadow: none !important;
}

@media screen and (max-width: 768px) {
    .white-button {
        max-width: 100%;
    }
}

.arrow-link::after {
    content: " →";
    margin-left: 5px;
    color: blue;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
}

.graph{
    width: 200px;
    height: 300px;
    margin-top: 40px;
}

.icon{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    margin-left: 10px;
    
}

.line{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    margin-left: 10px;
    
}

.custom-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
}
.custom-footer a {
    color: #007bff;
    text-decoration: none;
}
.custom-footer a:hover {
    text-decoration: underline;
}

/* ========= The VERIFY CREDENTIALS MODAL BEGIN =======  */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dim background */
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    text-align: left;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}


/* .modal-content div, 
.modal-content p, 
.modal-content h2, 
.modal-content a, 
.modal-content .profile-avatar {
    text-align: left;
    display: flex;
    flex-direction: row;
} */

/* ========= The VERIFY CREDENTIALS MODAL END =======  */

.profile-avatar {
    flex-direction: row;
}