/* Custom component styles */

/* Match PDF viewer inner background to dark theme container */
.rpv-core__viewer--dark .rpv-core__inner-page {
    background-color: #111827 !important;
}

.main-heading {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.main-heading:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (max-height: 540px) {
    .main-heading {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media (max-height: 640px) {
    .main-heading {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (min-height: 668px) {
    .main-heading {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

@media (min-height: 850px) {
    .main-heading {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (min-height: 1080px) {
    .main-heading {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

@media (max-height: 540px) {
    .main-heading {
        margin-bottom: 0.5rem;
    }
}

@media (max-height: 640px) {
    .main-heading {
        margin-bottom: 0.75rem;
    }
}

@media (min-height: 668px) {
    .main-heading {
        margin-bottom: 1rem;
    }
}

@media (min-height: 850px) {
    .main-heading {
        margin-bottom: 1.25rem;
    }
}

@media (min-height: 1080px) {
    .main-heading {
        margin-bottom: 1.5rem;
    }
}

.function-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.function-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.function-button {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.function-button:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (max-height: 540px) {
    .function-button {
        padding: 0.5rem;
    }
}

@media (max-height: 640px) {
    .function-button {
        padding: 0.5rem;
    }
}

@media (max-height: 668px) {
    .function-button {
        padding: 0.5rem;
    }
}

@media (min-height: 668px) {
    .function-button {
        padding: 1rem;
    }
}

@media (min-height: 850px) {
    .function-button {
        padding: 1.25rem;
    }
}

@media (min-height: 1080px) {
    .function-button {
        padding: 1.25rem;
    }
}

.function-button-active {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.function-button-inactive {
    --tw-bg-opacity: 1;
    background-color: rgb(214 211 209 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.function-button-inactive:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(168 162 158 / var(--tw-bg-opacity, 1));
}

.function-button-inactive:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.function-button-inactive:hover:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

.method-button {
    display: flex;
    flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.method-button:hover {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.method-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

@media (max-height: 540px) {
    .method-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (max-height: 640px) {
    .method-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (max-height: 668px) {
    .method-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (min-height: 668px) {
    .method-button {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-height: 850px) {
    .method-button {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-height: 1080px) {
    .method-button {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

.method-button {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 640px) {
    .method-button {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 768px) {
    .method-button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .method-button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.method-button-active {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.method-button-inactive {
    --tw-bg-opacity: 1;
    background-color: rgb(214 211 209 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.method-button-inactive:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(168 162 158 / var(--tw-bg-opacity, 1));
}

.method-button-inactive:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.method-button-inactive:hover:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

.resume-section {
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

@media (min-width: 640px) {
    .resume-section {
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    .resume-section {
        padding: 1rem;
    }
}

@media (min-width: 1024px) {
    .resume-section {
        padding: 1rem;
    }
}

.resume-text {
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.resume-text:is(.dark *) {
    --tw-text-opacity: 1;
    color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {
    .resume-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (min-width: 768px) {
    .resume-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .resume-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.resume-button {
    width: 100%;
    border-radius: 0.25rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-button:hover {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.resume-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

@media (max-height: 540px) {
    .resume-button {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
}

@media (max-height: 640px) {
    .resume-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (max-height: 668px) {
    .resume-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (min-height: 668px) {
    .resume-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (min-height: 850px) {
    .resume-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (min-height: 1080px) {
    .resume-button {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

@media (max-height: 540px) {
    .resume-button {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-height: 640px) {
    .resume-button {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-height: 668px) {
    .resume-button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-height: 668px) {
    .resume-button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-height: 850px) {
    .resume-button {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-height: 1080px) {
    .resume-button {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.action-button {
    width: 100%;
    border-radius: 0.5rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.action-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.action-button {
    position: relative;
    overflow: hidden;
}

@media (max-height: 540px) {
    .action-button {
        margin-top: 0.5rem;
    }
}

@media (max-height: 640px) {
    .action-button {
        margin-top: 0.75rem;
    }
}

@media (max-height: 668px) {
    .action-button {
        margin-top: 0.75rem;
    }
}

@media (min-height: 668px) {
    .action-button {
        margin-top: 1rem;
    }
}

@media (min-height: 850px) {
    .action-button {
        margin-top: 1.25rem;
    }
}

@media (min-height: 1080px) {
    .action-button {
        margin-top: 1.25rem;
    }
}

@media (max-height: 640px) {
    .action-button {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-height: 668px) {
    .action-button {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-height: 668px) {
    .action-button {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-height: 850px) {
    .action-button {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-height: 1080px) {
    .action-button {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-height: 540px) {
    .action-button {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-height: 640px) {
    .action-button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-height: 668px) {
    .action-button {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-height: 668px) {
    .action-button {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-height: 850px) {
    .action-button {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-height: 1080px) {
    .action-button {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}

@media (max-height: 540px) {
    .action-button-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (max-height: 640px) {
    .action-button-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (max-height: 668px) {
    .action-button-text {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media (min-height: 668px) {
    .action-button-text {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (min-height: 850px) {
    .action-button-text {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (min-height: 1080px) {
    .action-button-text {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.action-button-enabled {
    cursor: pointer;
}

.action-button-disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
