﻿
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

.score {
    font-size: 60px;
    /*text-align: center;*/
    position: absolute;
    top: 37%;
    left: 40%;
}

.badScore {
    color: #dc3545;
    font-weight: 600;
}

.mediumScore {
    color: #fd7e14;
    font-weight: 600;
}

.goodScore {
    color: #198754;
    font-weight: 600;
}

.scoreMessage {
    text-align: center;
}

.fullscreen-container {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border: 0.35em solid rgba(255, 255, 255, 0.15);
    border-top-color: #2773c4; /* your brand blue */
    border-radius: 50%;
    animation: spinner-border 2s linear infinite, /* rotation */
    subtle-pulse 3s ease-in-out infinite; /* soft breathing */
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(39, 115, 196, 0.4));
}

@keyframes spinner-border {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.error {
color: red;
font-weight: bold;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

img {
    max-width: 100%;
    height: auto;
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem;
    }
}

.jumbotron-fluid {
    padding-right: 0;
    padding-left: 0;
    border-radius: 0;
}

/* Modal styles */
.modal-image {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Close button styles */
.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* Full-size image styles */
.modal-image-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    padding: 20px;
}


.custom-shape-divider-bottom-1689619641 {
    display: none;
}

@media screen and (min-width: 700px) {
    .custom-shape-divider-bottom-1689619641 {
        display: inline;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
        transform: rotate(180deg);
    }

    .custom-shape-divider-bottom-1689619641 svg {
        position: relative;
        display: block;
        width: calc(159% + 1.3px);
        height: 95px;
        transform: rotateY(180deg);
    }

    .custom-shape-divider-bottom-1689619641 .shape-fill {
        fill: #FFFFFF;
    }

    section {
        position: relative;
        flex-direction: column;
        align-items: center;
        min-height: 400px;
        padding-top: 0px;
    }
}

/* File upload controls */

#clickUpload {
    /*color: blue;*/
    text-decoration: underline;
    cursor: pointer;
}

#dropZone.dragover {
    border-color: #66aaff;
    color: #66aaff;
}

#dropZone.fileloaded {
    border-color: #66aaff;
    color: #66aaff;
}

.button-submit {
    padding: 10px 15px;
    cursor: pointer;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    width: 200px;
    font-weight: 600 !important;
    cursor: pointer;
}

.button-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.trial-resume-textarea {
    width: 100%;
    height: 260px;
    padding: 10px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    color: black;
}

#dropZone, .jobtext-textarea {
    width: 100%;
    height: 260px;
    padding: 10px;
    border: 1px solid lightgray;
}

#dropZone {
    border: 2px dashed #aaa;
    text-align: center;
    color: black;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    background-color: white;
    border-radius: 15px;
}

.resume-creator-textarea {
    height: 400px !important;
    color: black;
}

.jobtext-textarea::placeholder {
    /* Vertically centering placeholder text in a textarea can be tricky. 
    Adjusting the padding can help, but it might not be perfect across all browsers. */
    padding-top: calc(20% - 0.5em); /* Adjust based on your font size and desired positioning */
    text-align: center;
    color: dimgray;
}

@media screen and (max-width: 500px) {
    .jobtext-textarea::placeholder {
        padding-top: calc(30% - 0.5em); 
    }
}

.center-content {
    text-align: center;
}

/* Instructions */

.instructions-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.instruction {
    flex: 0 1 auto; /* This means the item is inflexible in growing and shrinking, but it bases its size on its content */
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.number {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Ensuring the width doesn't go below 50px */
    background-color: #3498db;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0; /* Prevents the number from shrinking */
}

.text {
    font-size: 17px;
}

.light-bold {
    font-weight: 645 !important;
}

.intro-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.bordered-image {
    border: 1px solid black;
    width: 242px;
}

.bordered-image-highlighted {
    border: 2px solid #1b76fd;
}

.instructions-link {
    text-align: right;
}

@media screen and (max-width: 700px) {
    .instructions-link {
        text-align: left;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height:width) */
    padding-top: 0;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-images {
    border: solid 1px gainsboro;
    border-radius: 10px
}

.price {
    color: darkgreen;
    font-weight: bold;
}

.control-box {
    border-radius: 10px;
}

.box-shadow {
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(52, 125, 210, 0.2); /* Lighter blue shadow */
}

.box-shadow-border {
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(52, 125, 210, 0.2); /* Lighter blue shadow */
    border: 1px solid #dee2e6;
}

.feature-screenshot-highlight {
    border-left: 32px solid #a8d5f8;
    border-top: 32px solid #a8d5f8;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 5px 5px 10px rgba(52, 125, 210, 0.2); /* Lighter blue shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    height: auto;
    background-color: #fff;
    padding: 0px; /* Optional: adds space between image and border */
}

@media (max-width: 800px) {
    .feature-screenshot-highlight {
        border-left: 15px solid #a8d5f8;
        border-top: 15px solid #a8d5f8;
    }
}

.feature-screenshot {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(52, 125, 210, 0.2); /* Lighter blue shadow */
    background-color: #fff;
}

.feature-highlight {
    border-left: 20px solid #a8d5f8;
    border-top: 20px solid #a8d5f8;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(52, 125, 210, 0.2); /* Lighter blue shadow */
    background-color: #fff;
}

.template-thumbnail {
    width: 217px;
}

.template-thumbnail-highlighted {
    border: 2px solid #1b76fd;
}

.text-content-standout {   
    padding: 20px;
}

.blurred-text {
    filter: blur(4px); /* Adjust the value to control the blur intensity */
}

.btn-sm-square i.fa-check {
    font-size: 16px; /* Adjust size as needed */
    width: 16px; /* Matches font size for consistency */
    height: 16px; /* Matches font size for consistency */
    display: inline-block; /* Ensures it respects width and height */
    line-height: 16px; /* Centers icon within the square */
    text-align: center; /* Ensures proper alignment */
}

.question-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border: 1px solid;
    font-size: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

/*
.bordered-image:hover {
    -ms-transform: scale(1.3); 
    -webkit-transform: scale(1.3); 
    transform: scale(1.3);
}
*/

.logo-item img {
    max-height: 35px;
    width: auto;
}

.hero-button-text {
    font-size: 1.2rem;
    font-weight: 600 !important;
}

.dashboard-background {
    background-color: var(--light);
}

.dashboard-header {
    font-size: 1.2em;
    font-weight: bold;
    color: black;
    padding-bottom: 10px;
}

.dashboard-controls-container {
    padding: 15px 20px;
    background: #FDFEFE; /* lighter grayish-white */
    border-radius: 12px;
    color: #2D3748; /* softer dark gray instead of pure black */
    font-size: 0.95rem; /* slightly smaller text for controls */
    font-weight: 400;
}

.page-header {
    font-size: 2.3rem;
}

#pdfPreviewResume,
#pdfPreviewResumeTemplate,
#pdfPreviewCoverLetter {
    overflow-x: auto; /* allow horizontal scroll if needed */
    text-align: center; /* center the canvas horizontally */
    background: #A4A5A8;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

    #pdfPreviewResume canvas,
    #pdfPreviewResumeTemplate canvas,
    #pdfPreviewCoverLetter canvas {
        display: block;
        margin: 24px auto;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        background: #fff;
        width: auto !important; /* Prevent stretching */
        height: auto !important; /* Prevent stretching */
        max-width: 100%; /* Only shrink to fit if needed */
    }

/* Match Details gap lock test (Features:MatchGapsLock). In site.css because both the Resume Editor and
   Dashboard/JobMatch list gaps. Locked rows hold decoy text, blurred; the whole row
   and the "+N more gaps on Pro" link open the upgrade modal. */
.match-gap-locked {
    cursor: pointer;
    user-select: none;
}

.match-gap-blur {
    filter: blur(4px);
    color: var(--bs-secondary, #6c757d);
}

.match-gaps-unlock-row {
    list-style: none;
    margin-top: 0.25rem;
}

.match-gaps-unlock {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}
