@CHARSET "ISO-8859-1";

/* ----- Dashboard (admin only for now) ----- */
#dcp_dashboard {
    min-height: 200px;
    border: 1px solid #ccc;
    padding: 1rem;
    margin-top: 1rem;
}

/* ----- Input form styling ----- */
.dicap_frm_search {
    width: 100%;
    position: relative;
    display: flex;
}

.dicap_frm_pad {
    padding: 10px 10px 30px 10px;
}

.dicap_frm_input {
    width: 100%;
    border: 3px solid #00B4CC;
    border-right: none;
    padding: 5px;
    height: 36px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #9DBFAF;
}

.dicap_frm_input:focus{
    color: #00B4CC;
}

.dicap_frm_submit {
    height: 36px;
    width: 100px !important;
    padding: 5px 10px;
    border: 1px solid #0b65a3;
    background: #0b65a3;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 18px;
}

.dicap_frm_submit:hover {
    border: 1px solid #0b65a3;
    background: #0f77be;
}

.dicap_frm_output{
    margin: 20px 0;
    padding: 50px 0 0 5px;
}

.dicap_frm_info{
    margin: 0 20px;
    padding: 5px 20px;
    color: #ababab;
    border-bottom: 1px dotted #cdcdcd;
}

.dicap_frm_spinner {
    display: block;
    width: 320px;
    height: 226px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background: url('busy01.gif') no-repeat;
    opacity: .8;
    filter: alpha(opacity=80);
}

.dicap_frm_download {
    padding: 0 10px;
    border: 1px solid #aaa;
    background: #aaa;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.dcpt_norecords {
    text-align: center;
    display: block;
    width: 400px;
    height: 400px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background: url('hmm_bubble.png') no-repeat;
    opacity: .8;
    filter: alpha(opacity=80);
}

/* ---------- Alphabet selector styling ---------- */
.dicap-alpha-filter {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.dicap-alpha-filter a {
    display: inline-block;
    margin: 0 7px 7px 0; /* extra spacing between letters */
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    background: #f7f7f7;
    color: #333;
    transition: background 0.2s, color 0.2s;
}
.dicap-alpha-filter a:hover {
    background: #333;
    color: #fff;
}
.dicap-alpha-filter a.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

/* ---------- Not Logged In notice styling ---------- */
div.dicap_notice_block {
    display: flex;
    margin: 20px;
    align-items: center;
    justify-content: center;
    height: 200px;
}

div.dicap_notice_inner {
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #f9f9f9;
}

.dicap_notice_inner h3 {
    margin-bottom: 15px;
    color: #333;
}

.dicap_notice_inner p {
    margin-bottom: 20px;
    color: #555;
}

.dicap_notice_inner a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* ---------- WooCommerce Styling ---------- */

div.woocommerce-MyAccount-content {
    margin-bottom: 50px !important;
}

/* ---------- filter flex block definition ---------- */
.dicap-filter-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    padding: 3px 0;
    /*align-items: stretch;*/
    /*justify-content: center;*/
    /*justify-content: space-around;*/
    /*justify-content: space-between;*/
    background-color: transparent;
}

.dicap-filter-flex > div.dicap-filter-flex-1 {
    flex-grow: 5;
    box-sizing: border-box;
    width: 350px;
    margin: 0px 0px;
    padding: 7px;
    text-align: left;
}

.dicap-filter-flex > div.dicap-filter-flex-2 {
    flex-grow: 2;
    box-sizing: border-box;
    /*width: 250px;*/
    margin: 0px 0px;
    padding: 7px;
    text-align: left;
}

.dicap-filter-flex > div.dicap-filter-flex-3 {
    flex-grow: 3;
    box-sizing: border-box;
    /*width: 250px;*/
    margin: 0px 0px;
    padding: 7px;
    text-align: right;
}

/* ----- filter tabs styling ----- */
.dicap_tabs {
    display: flex;
    justify-content: flex-end; /* Align dicap_tabs to the right */
    border-bottom: 1px solid #ccc;
}

.dicap_tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #999;
    border-bottom: none;
    background-color: #a6a6a6;
    margin-left: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #f4f4f4;
}

.dicap_tab:hover {
    background-color: #e9e9e9;
    color: #828282;
}

.dicap_tab.active {
    background-color: #fff;
    color: #828282;
    font-weight: bold;
    /*border-bottom: 1px solid #a2a2a2;*/
    border-bottom: none;
}

/* ----- filter block styling ----- */
#dicap_head_block {
    cursor: pointer;
}

#dicap_filter_head h1 {
    font-size: 22px;
    padding: 15px 5px;
}
#dicap_filter_head h2 {
    font-size: 14px;
    padding-bottom: 10px;
    color: #cdcdcd;
}

#dicap_filter_url {
    font-size: 16px;
    padding-top: 20px;
    color: #969696;
}

.dicap_toggle_cog {
    display: block;
    float: right;
    font-size: 20px;
    color: #c62b2b !important;
}

.dicap_toggle_settings {
    display: none;
    width: 100%;
    background: #ededed;
    margin-top: 15px !important;
    padding: 15px;
    border: 1px solid #cdcdcd;
}

/* Style the data title tag on certain images or titles */
[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
    color: #bd3500;
    font-size: 1em;
    font-weight: normal;
    position: absolute;
    padding: 5px 15px 5px 15px;
    bottom: -2.1em;
    left: 0;
    white-space: nowrap;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 4px #222;
    -webkit-box-shadow: 0px 0px 4px #222;
    /*box-shadow: 0px 0px 4px #969696;*/
    background-image: -moz-linear-gradient(top, #f8f8f8, #cccccc);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f8f8f8),color-stop(1, #cccccc));
    background-image: -webkit-linear-gradient(top, #f8f8f8, #cccccc);
    background-image: -moz-linear-gradient(top, #f8f8f8, #cccccc);
    background-image: -ms-linear-gradient(top, #f8f8f8, #cccccc);
    background-image: -o-linear-gradient(top, #f8f8f8, #cccccc);
    /*opacity: 0;*/
    border: 2px solid #6a6a6a;
    z-index: 99999;
    visibility: hidden;
}
[data-title] {
    position: relative;
}

/* ============================ WooCommerce Notice Link Fix ============================ */

/* Styling for WooCommerce Order confirmation advice block */
.woocommerce-info a.button {
    background: #1f95de;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
}

/* Make all links inside WooCommerce notices readable */
.woocommerce-notices-wrapper a,
.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
    color: #ffffff !important; /* White text on colored background */
    text-decoration: underline;
    font-weight: 600;
}

/* Optional hover color for accessibility */
.woocommerce-notices-wrapper a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover,
.woocommerce-info a:hover {
    color: #f2f2f2 !important;
}