/* ============================================================
   Unicode Nepali Tool v2.0 — Plugin Styles
   Author: nepalitheme | www.nepalitheme.com
   ============================================================ */

:root {
    --unt-primary:   #a3002b;
    --unt-secondary: #0244a0;
}

/* -------- Wrapper -------- */
.unt-wrap {
    margin-top: 20px;
}

/* -------- Nav Tabs -------- */
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs {
    position: relative;
    border-bottom: 0;
    margin-bottom: 5px;
}

/* Inactive tab */
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li > a {
    margin-right: 4px;
    line-height: 1.42857143;
    border-radius: 4px 4px 0 0;
    color: var(--unt-secondary);
    background: #fff;
    border: 2px solid var(--unt-secondary) !important;
    border-bottom: 0 !important;
    box-shadow: 0 -2px 6px rgba(0,0,0,.07);
    font-weight: 500;
    transition: background .18s, color .18s;
}

.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li > a:hover {
    background: rgba(2, 68, 160, .08);
    color: var(--unt-secondary);
}

/* Active tab */
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li.active > a,
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li.active > a:focus,
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li.active > a:hover {
    color: #fff !important;
    cursor: default;
    background-color: var(--unt-primary) !important;
    border-color: var(--unt-primary) !important;
}

/* Active tab arrow pointer */
.unt-wrap .tab-main-area.tab-style-2 .nav-tabs > li.active > a::after {
    content: '';
    position: absolute;
    left: 35%;
    top: 96%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--unt-primary);
    clear: both;
}

/* -------- Tab Content Area -------- */
.unt-wrap .tab-main-area.tab-style-2 .tab-step-content {
    padding: 24px;
    background: #fff;
    color: #555;
    border-radius: 0 4px 4px 4px;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    border: 2px solid var(--unt-secondary);
    border-top: 3px solid var(--unt-primary);
}

/* -------- Headings -------- */
.unt-wrap h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--unt-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* -------- Textarea -------- */
.unt-wrap .textarea_unicode,
.unt-wrap .textarea_unicodes {
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 15px;
    resize: vertical;
    box-sizing: border-box;
    color: #222;
    margin-top: 25px;
    transition: border-color .2s;
}

.unt-wrap .textarea_unicode:focus,
.unt-wrap .textarea_unicodes:focus {
    border-color: var(--unt-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2,68,160,.12);
}

/* -------- Label caps -------- */
.unt-wrap .unicodeback,
.unt-wrap .unicode_cap,
.unt-wrap .unicode_cap_1 {
    color: #fff;
    height: 25px;
    width: auto;
    display: inline-block;
    border-top-left-radius: 5px;
    background: var(--unt-secondary);
    border-top-right-radius: 5px;
    border: 1px solid var(--unt-secondary);
    border-bottom: 1px dotted rgba(255,255,255,.5);
    z-index: 99;
    text-align: center;
    padding: 0 10px;
    line-height: 25px;
    font-size: 13px;
    margin-bottom: 0;
}

/* -------- Buttons -------- */
.unt-wrap .btn-unt {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid var(--unt-secondary);
    border-radius: 4px;
    background: #fff;
    color: var(--unt-secondary);
    cursor: pointer;
    margin: 4px 2px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.18s;
}

.unt-wrap .btn-unt:hover {
    background: var(--unt-secondary);
    color: #fff;
}

.unt-wrap .btn-unt-green {
    background: var(--unt-primary);
    color: #fff;
    border-color: var(--unt-primary);
}

.unt-wrap .btn-unt-green:hover {
    background: #7a0020;
    border-color: #7a0020;
    color: #fff;
}

/* -------- Credit Footer -------- */
.unt-credit-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

.unt-credit-footer a {
    color: var(--unt-secondary);
    text-decoration: none;
    font-weight: 600;
}

.unt-credit-footer a:hover {
    text-decoration: underline;
}

/* -------- Responsive -------- */
@media (max-width: 600px) {
    .unt-wrap .nav-tabs > li > a {
        font-size: 12px;
        padding: 6px 8px;
    }
}
