﻿#clrchange {
    display: none;
}

/* Enhanced styles for DataGrid tables */
.dashboard-table {
    border-collapse: collapse !important; /* Use !important to override any inline styles */
    width: 100%;
    border-spacing: 0;
}

    /* Add additional styles for DataGrid elements if needed */
    .dashboard-table th, .dashboard-table td {
        padding: 8px;
        border: 1px solid #ddd;
    }

    /* Fix: Only apply alternating colors to tbody rows */
    .dashboard-table tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .dashboard-table th {
        background-color: #f8f9fa;
        font-weight: bold;
        text-align: left;
    }
#searchField {max-width: 200px;}

/* For colpick plugin */
.colpick-visible {
    display: block;
    position: absolute;
    z-index: 1000;
}

/* General jQuery UI styles */
.ui-hidden {
    display: none !important;
}

.ui-visible {
    display: block !important;
}

/* Add to your site.css */

/* Colpick plugin styles */
.colpick-visible {
    display: block !important;
    position: absolute !important;
    z-index: 1000 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-shadow: 0 6px 12px rgba(0,0,0,.175) !important;
}

.colpick {
    width: 346px !important;
    height: 170px !important;
    overflow: hidden !important;
    background: #ebebeb !important;
    border-radius: 5px !important;
    padding: 8px !important;
}

.colpick_full {
    width: 346px !important;
    height: 216px !important;
}

.colpick .colpick_color {
    width: 150px !important;
    height: 150px !important;
    left: 8px !important;
    top: 8px !important;
    position: absolute !important;
    background: #f00 !important;
    overflow: hidden !important;
    cursor: crosshair !important;
}

.colpick .colpick_color_overlay1 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 150px !important;
    height: 150px !important;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%) !important;
}

.colpick .colpick_color_overlay2 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 150px !important;
    height: 150px !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%) !important;
}

.colpick .colpick_selector_outer {
    position: absolute !important;
    width: 11px !important;
    height: 11px !important;
    margin: -6px 0 0 -6px !important;
    border: 1px solid black !important;
    border-radius: 50% !important;
}

.colpick .colpick_selector_inner {
    position: absolute !important;
    width: 9px !important;
    height: 9px !important;
    border: 1px solid white !important;
    border-radius: 50% !important;
}

.colpick .colpick_hue {
    position: absolute !important;
    top: 8px !important;
    left: 168px !important;
    width: 20px !important;
    height: 150px !important;
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%) !important;
}

.colpick .colpick_hue_arrs {
    position: absolute !important;
    left: -8px !important;
    width: 35px !important;
    height: 7px !important;
    margin: -7px 0 0 0 !important;
    cursor: n-resize !important;
}

.colpick .colpick_hex_field {
    position: absolute !important;
    height: 20px !important;
    width: 68px !important;
    left: 196px !important;
    top: 134px !important;
}

.colpick .colpick_field_letter {
    position: absolute !important;
    width: 12px !important;
    height: 20px !important;
    line-height: 20px !important;
    padding-left: 4px !important;
    background: #efefef !important;
    text-align: center !important;
    text-transform: uppercase !important;
    color: #777 !important;
    font-size: 10px !important;
}

.colpick .colpick_field input {
    right: 11px !important;
    position: absolute !important;
    height: 20px !important;
    padding: 0 !important;
    border: 1px solid #bdbdbd !important;
    font-size: 13px !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

.colpick .colpick_submit {
    position: absolute !important;
    height: 22px !important;
    line-height: 22px !important;
    left: 196px !important;
    width: 71px !important;
    color: #777 !important;
    font-size: 12px !important;
    background: #efefef !important;
    text-align: center !important;
    top: 102px !important;
    cursor: pointer !important;
}

/* Specific styles for our color preview elements */
.colourPreview {
    width: 30px !important;
    height: 30px !important;
    display: inline-block !important;
    border: 1px solid #ddd !important;
    vertical-align: middle !important;
    margin-left: 10px !important;
}

/* Validation styles */
.validation-error.hidden-validator {
    display: none !important;
}

.validation-error.visible-validator {
    display: block !important;
    color: #dc3545 !important;
    margin-top: 0.25rem !important;
}

/* jQuery UI styling classes */
.ui-hidden {
    display: none !important;
}

.ui-visible {
    display: block !important;
}

/* Error page styles */
.error-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    margin-top: 2rem;
}

/* Error page button uses dashboard styling - matches TransactionHistory and Dashboard pages */
.error-actions .btn-primary {
    background-color: #7F5A01; /* --gold color */
    border-color: #7F5A01;
    color: #fff;
    min-width: 150px;
}

.error-actions .btn-primary:hover {
    background-color: #000000; /* --black color */
    border-color: #000000;
    color: #fff;
}

.error-code {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
    font-family: monospace;
}

/* Environment icon styles */
.env-icon {
    font-size: 16px;
    display: inline-block;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    cursor: help;
}

.env-icon:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}