/* ==========================================================================
   PaperScorer Shared Styles
   Reusable styles across all pages and modules
   ========================================================================== */

/* ==========================================================================
   Base / Reset
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

:root {
    --ps-font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --ps-font-size: 16px;
    --ps-line-height: 1.4;

    /* Colors */
    --ps-bg-light: #f5f5f5;
    --ps-text-color: #333;
    --ps-link-color: rgb(15, 87, 138);
    --ps-blue: #1877b1;
    --ps-blue-hover: #1565a0;
    --ps-error: #dd4b39;
    --ps-success: #5cb85c;
    --ps-gray: #808080;

    /* Header */
    --ps-header-bg: #f7f7f7;
    --ps-header-border: #d4d9dd;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.ps-page-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header-site {
    background: var(--ps-header-bg);
    padding: 10px;
    border-bottom: 1px solid var(--ps-header-border);
    width: 100%;
    margin-bottom: 2px;
}

.logo-site {
    width: 125px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-blue {
    background-color: var(--ps-blue);
    color: #fff;
    border: 1px solid var(--ps-blue);
    padding: 0.6em 1.2em;
    font-size: 14px;
    border-radius: 6px !important;
    display: inline-block;
    position: relative;
    font-weight: normal;
    outline: none;
    line-height: 1.5em;
    transition: 0.2s linear background-color, color;
    user-select: none;
    margin: 0 10px 0 0;
    cursor: pointer;
}

.btn-blue:hover {
    background-color: var(--ps-blue-hover);
}

.btn-blue:after {
    content: "";
    position: absolute;
    opacity: 0;
    top: 2px;
    bottom: 2px;
    right: 2px;
    left: 2px;
    border: 1px solid #fff;
    transition: opacity 300ms;
}

/* ==========================================================================
   Links
   ========================================================================== */

.ps-links a {
    color: var(--ps-link-color);
    text-decoration: none;
    display: block;
    margin: 8px 0;
    text-align: center;
}

.ps-links a:hover,
.ps-links a:visited {
    color: var(--ps-link-color);
}

/* ==========================================================================
   Images
   ========================================================================== */

.ps-logo-centered {
    width: 300px;
    max-height: 80vh;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.bottom-margin {
    margin-bottom: 12px;
}

.noMargin {
    margin: 0px !important;
}

.m-r-10 {
    margin-right: 10px !important;
}

.btn-wrapper {
    margin: 10px;
}

/* ==========================================================================
   Status / Feedback
   ========================================================================== */

.spnprocess {
    color: var(--ps-gray);
    font-weight: bold;
}

.current {
    color: var(--ps-error);
    font-weight: bold;
}

.error {
    color: var(--ps-error);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-dialog {
    width: 600px;
    margin: 10% auto;
}

.modal-tbl th {
    background: #eee;
    padding: 4px 6px !important;
    font-weight: bold;
    font-size: 13px;
}

.modal-tbl td {
    font-size: 12px;
}

/* ==========================================================================
   Print
   ========================================================================== */

.print-ico {
    margin: 20px 0 0;
}

a#print_pdf {
    color: #266C98;
    font-weight: bold;
    text-decoration: none;
}

a#print_pdf:hover {
    color: #3078A7;
}

/* ==========================================================================
   jQuery UI Overrides
   ========================================================================== */

.ui-widget-header {
    border: 1px solid #1970B5;
    background: #1970B5;
    color: #FFFFFF;
    font-weight: bold;
    border-radius: 0;
    padding: 8px 15px !important;
}

.ui-dialog {
    padding: 0px;
}

.ui-widget-header .ui-icon {
    background-image: url("images/ui-icons_222222_256x240.png") !important;
}

.ui-button-icon-only .ui-button-text,
.ui-button-icons-only .ui-button-text {
    padding: 0px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid transparent;
}
