/* DCRUST PLUGIN - EXACT REPLICA STYLES */

/* Base reset for the plugin container */
.dcrust-exact-page-wrapper {
    background-color: #f8f9fb !important; /* Light gray background */
    font-family: Arial, Helvetica, sans-serif !important;
    padding: 40px 0 60px 0 !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}

/* Header Container for centering */
.dcrust-header-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* Header 1: Slate Blue Banner */
.dcrust-header-slate {
    background-color: #4c6684 !important; /* Blue-gray color */
    padding: 20px 0 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important; /* Added gap between headers */
}

.dcrust-logo-box {
    background-color: #ffffff !important;
    padding: 5px !important;
    margin-right: 20px !important;
    border-radius: 2px !important;
    width: 85px !important;
    height: 85px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.dcrust-logo-box img {
    max-width: 75px !important;
    max-height: 75px !important;
    display: block !important;
}

.dcrust-title-box {
    color: #ffffff !important;
}

.dcrust-uni-name-bold {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 28px !important;
    font-weight: bold !important;
    border: none !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
}

.dcrust-uni-address-small {
    margin: 5px 0 0 0 !important;
    font-size: 15px !important;
    color: #ffffff !important;
}

/* Header 2: Royal Blue Navigation */
.dcrust-header-royal {
    background-color: #3f51b5 !important; /* Royal blue color */
    padding: 15px 0 !important;
    color: #ffffff !important;
}

.dcrust-nav-text-centered {
    width: 100% !important;
    text-align: center !important;
}

.dcrust-nav-line-1 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: none !important;
}

.dcrust-nav-line-2 {
    margin: 5px 0 0 0 !important;
    font-size: 16px !important;
}

/* Main Body Section */
.dcrust-main-body {
    max-width: 1000px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
}

/* Search Container Design */
.dcrust-search-container-exact {
    width: 550px !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    border: 1px solid #000000 !important; /* Black border from screenshot */
    border-radius: 4px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.dcrust-search-top-bar {
    height: 15px !important;
    background-color: #000000 !important; /* Black top bar */
}

.dcrust-search-inner-content {
    padding: 30px 40px !important;
}

.dcrust-search-form-exact {
    text-align: center !important;
}

.dcrust-form-group-exact {
    margin-bottom: 10px !important;
}

.dcrust-label-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
    color: #444 !important;
    line-height: 1.2 !important;
}

.dcrust-input-row input[type="text"] {
    width: 280px !important;
    padding: 12px !important;
    border: 1px solid #bbbbbb !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
    text-align: left !important; /* Left aligned text in input */
    border-radius: 2px !important;
}

.dcrust-submit-row {
    display: flex !important;
    justify-content: flex-end !important; /* Button on the right */
    padding-right: 40px !important;
}

.dcrust-submit-row button {
    background-color: #337ab7 !important;
    color: #ffffff !important;
    border: 1px solid #2e6da4 !important;
    padding: 10px 25px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

.dcrust-submit-row button:hover {
    background-color: #286090 !important;
}

/* Result Tables */
.dcrust-result-output-exact {
    margin-top: 40px !important;
    background-color: #ffffff !important;
    padding: 20px !important;
    border: 1px solid #eee !important;
}

.dcrust-table-exact {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 25px !important;
}

.dcrust-table-exact td, .dcrust-table-exact th {
    border: 1px solid #cccccc !important;
    padding: 12px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
}

.dcrust-td-label {
    background-color: #f9f9f9 !important;
    font-weight: bold !important;
    width: 20% !important;
    text-align: center !important;
}

.dcrust-td-value {
    width: 30% !important;
    text-align: center !important;
    color: #333 !important;
}

.dcrust-marks-table-exact thead th {
    background-color: #f5f5f5 !important;
    font-weight: bold !important;
    text-align: center !important;
}

.dcrust-marks-table-exact tbody td {
    text-align: center !important;
    font-size: 16px !important;
}

.dcrust-status-text {
    font-weight: bold !important;
}

/* Footer Notes */
.dcrust-footer-notes-exact {
    margin-top: 30px !important;
    text-align: center !important;
}

.dcrust-note-exact {
    font-size: 14px !important;
    margin-bottom: 15px !important;
    color: #444 !important;
}

.dcrust-disclaimer-exact {
    font-size: 11px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    color: #666 !important;
}

.dcrust-error-exact {
    text-align: center !important;
    color: #d9534f !important;
    padding: 20px !important;
    font-weight: bold !important;
}
