/**
 * RWC User Frontend - Admin CSS
 *
 * This stylesheet is used to style the admin interface of the RWC User Frontend plugin.
 * It includes styles for the settings pages, admin notices, plugin-specific admin panels,
 * and any other custom elements introduced by the plugin in the WordPress admin dashboard.
 *
 * @package RWC User Frontend v0.2 - 9 February, 2025
 * @link https://www.realwebcare.com/
 */
/* General Settings Area Styling */
.rwcufr_settings_area {
    color: #333;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 64%;
    margin: 20px 0;
    float: left;
}

.rwcufr_settings_area .wrap.rwcufr_settings {
    min-height: 640px;
    margin: 10px 0;
}

.rwcufr_settings_area .rwcufr_settings .main-header {
    font-size: 24px;
    font-weight: bold;
    color: #444;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tab Navigation Styling */
.rwcufr_settings_area .rwcufr_settings .nav-tab-wrapper {
    display: flex;
    border-bottom: none;
}

.rwcufr_settings_area .rwcufr_settings .nav-tab {
    text-align: center;
    margin: 0 0 0 10px;
    padding: 9px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #00547c;
    border: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.rwcufr_settings_area .rwcufr_settings .nav-tab#rwcufr_generals-tab {
    margin-left: 25px;
}

.rwcufr_settings_area .rwcufr_settings .nav-tab:hover {
    background: #dcdfe3;
    color: #333;
}

.rwcufr_settings_area .rwcufr_settings .nav-tab-active {
    background: #fff;
    color: #333;
    border-color: #ddd;
    border-bottom: none;
}

/* Content Group Styling */
.rwcufr_settings_area .rwcufr_settings .metabox-holder {
    padding-top: 0 !important;
}

.rwcufr_settings_area .rwcufr_settings .group {
    background: #fff;
    border: 1px solid #ddd;
    margin-top: -1px;
    padding: 20px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.rwcufr_settings_area .rwcufr_settings .group h2 {
    font-size: 21px;
    font-weight: 700;
    color: #00547c;
    margin-bottom: 30px;
    border-bottom: 2px solid #00547c;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out, border-bottom-color 0.3s ease-in-out;
}

/* Table Styling */
.rwcufr_settings_area .rwcufr_settings table.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rwcufr_settings_area .rwcufr_settings table.form-table tr {
    display: flex;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.rwcufr_settings_area .rwcufr_settings table.form-table tr.rwcufr_delall {
    border: none;
    padding-bottom: 0;
}

.rwcufr_settings_area .rwcufr_settings table.form-table tr.rwcufr_caution {
    position: relative;
    top: -30px;
    padding-top: 0;
}

.rwcufr_settings_area .rwcufr_settings table.form-table th {
    position: relative;
    top: 3px;
    text-align: left;
    padding: 10px;
    color: #333;
    font-weight: bold;
    width: 30%;
}

.rwcufr_settings_area .rwcufr_settings table.form-table td {
    padding: 10px;
    width: 70%;
}

.rwcufr_settings_area .rwcufr_settings table.form-table input[type="checkbox"] {
    margin-right: 10px;
}

.rwcufr_settings_area .rwcufr_settings table.form-table input[type="number"] {
    width: 80px;
    padding: 0 0 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.rwcufr_settings_area .rwcufr_settings td .description {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Buttons Styling */
.rwcufr_settings_area .rwcufr_settings .submit .button {
    padding: 3px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.rwcufr_settings_area .rwcufr_settings .submit .button:hover {
    transform: translateY(-2px);
}

.rwcufr_settings_area .rwcufr_settings .submit .button:active {
    transform: translateY(0);
}

/* Help */
.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info{
    background-color:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:20px;
    margin:34px 10px 20px 0;
    line-height:1.6
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .get-instructed {
   font-size:20px;
   font-weight:bold;
   margin-bottom:15px;
   text-transform:uppercase
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions {
   list-style:decimal inside;
   margin:0;
   padding:0;
   color:#333
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions ul {
   list-style:disc inside;
   margin:10px 0 0 20px;
   padding:0
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions li {
   margin:10px 0;
   padding:10px;
   background-color:#f9f9f9;
   border:1px solid #eee;
   border-radius:4px
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions li pre {
   display:inline-block
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions li code {
    display: inline;
    margin: 10px 5px;
    padding: 10px;
    background-color: #1F1F1F;
    border: 1px solid #ddd;
    color: #55c6f9;
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .rwcufr-help-instructions li strong {
   color:#0056b3;
   font-weight:bold
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .getting-started_video {
   display:flex
}

.rwcufr_settings_area .wrap.rwcufr_settings .rwcufr-help-info .getting-started_video img {
   max-width:100%
}

.rwcufr_settings_area .rwcufr-help-info .rwcufr-help-instructions .rwcufr-keyword {
   color:#B8DC9F
}

.rwcufr_settings_area .rwcufr-help-info .rwcufr-help-instructions .rwcufr-function {
   color:#fe8d59
}

.rwcufr_settings_area .rwcufr-help-info .rwcufr-help-instructions .rwcufr-string {
   color:#00fbbd
}
/* // Help */

/* Sidebar */
#rwcufr-sidebar {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px 15px 0;
    border-radius: 8px;
    width: 27%;
    float: left;
    top: 20px;
    margin-left: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar,
#rwcufr-sidebar #rwcufrusage-info.rwcufrusage-sidebar {
    height:auto;
    background-color:#ffffff;
    border:1px solid #ddd;
    color:#000;
    position:relative;
    max-width:422px;
    box-shadow:0 14px 80px rgb(34 35 58 / 20%);
    margin: 0 0 2em;
    padding:25px 25px 15px;
    border-radius:8px;
    transition:all .3s
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr,
#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr {
    margin:0 0 10px;
    line-height:30px
}

#rwcufr-narration #rwcufrusage-note .rwcufr h3,
#rwcufr-sidebar .rwcufrusage-sidebar h3 {
    font-size:20px;
    font-weight:700;
    color:#0d0925;
    margin-top:0;
    line-height:30px;
    border-bottom:1px solid #72777c;
    padding-bottom:7px;
    text-transform:uppercase
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr a,
#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr a {
    float:none;
    background:none;
    margin:0;
    padding:0;
    color:#2271b1;
    font-size:100%;
    border-radius:0;
    box-shadow:none;
    border:0;
    font-weight:600;
    text-decoration:none
}


#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr a:hover,
#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr a:hover {
    color:#135e96;
    text-decoration:underline
}

#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr .rwcufr-first::first-letter{
    font-size:2em;
    line-height:1;
    letter-spacing:-4px;
    font-weight:700;
    color:#e9950c
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr ol li,
#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr ol li {
    line-height:1.4;
    color:#262626
}


#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr code {
    color: #ffc623;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 3px 15px;
    font-size: 13px;
    font-weight: 600;
    border-left: 10px solid #343541;
    background: #000000;
}

#rwcufr-sidebar #rwcufrusage-note.rwcufrusage-sidebar .rwcufr pre {
    margin:10px 0
}

#rwcufr-sidebar #rwcufrusage-info.rwcufrusage-sidebar .rwcufrusage-list li {
    list-style:disc;
    margin:0 0 0 20px;
    font-size:16px;
    line-height:30px
}

#rwcufr-sidebar #rwcufrusage-info.rwcufrusage-sidebar a {
    color:#0073aa;
    text-decoration:none;font-weight:600
}

#rwcufr-sidebar #rwcufrusage-info.rwcufrusage-sidebar a:hover {
    text-decoration:underline
}
/* //Sidebar */

/* Narration */
#rwcufr-narration {
    position: relative;
    top: 30px;
    margin: 0 0 30px;
    padding: 15px 40px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent{
    padding-bottom:20px
}

#rwcufr-narration #rwcufrusage-note .rwcufr h3 {
    margin: 20px 0;
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr .likeit {
    position:relative;
    margin:0 0 50px;
    font-size:14px;
    text-transform:uppercase;
    text-align:justify;
    color:#2271b1;
    font-weight:600;
    line-height:1.5
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr .likeit a{
    position:absolute;
    left:50%;
    top:calc(100% + 5px);
    font-size:16px;
    background-image:linear-gradient(147deg,#fe8a39 0%,#fd3838 74%);
    margin:10px 0 0;
    padding:6px 18px;
    border-radius:50px;
    color:#fff;
    text-decoration:none;
    text-align:center;
    letter-spacing:4px;
    transform:translateX(-50%)
}

#rwcufr-narration #rwcufrusage-note.rwcufrusage-maincontent .rwcufr .likeit a:hover{
    text-decoration:none;
    color:#ffe000;
    background-image:linear-gradient(335deg,#fe8a39 0%,#fd3838 74%)
}
/* //Narration */

/* Style for the review notice container */
#rwcufr-review {
    background: linear-gradient(135deg, #f0f9ff, #cfe7f9);
    border: 2px solid #4a90e2;
    border-radius: 12px;
    margin: 1em auto 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    max-width: 90%;
    animation: fadeIn 0.6s ease-in-out;
}

/* Subtle fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for the paragraph text */
#rwcufr-review p {
    font-size: 16px;
    line-height: 1.6; /* Improved readability */
    margin: 10px 0;
}

/* Highlight plugin name */
#rwcufr-review b {
    color: #0073aa; /* WordPress blue color */
}

/* Button container */
.rwcufr-review-btn {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
}

/* Primary button style */
.rwcufr-review-btn .button-primary,
.rwcufr-review-btn .button-secondary {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.rwcufr-review-btn .button-primary:hover,
.rwcufr-review-btn .button-secondary:hover {
    transform: scale(1.05); /* Slight zoom-in effect */
}

/* Dismissible style (if needed for close functionality) */
.rwcufr-is-dismissible {
    position: relative;
    padding-right: 40px; /* Space for close button */
}

.rwcufr-notice .rwcufr-close-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 13px;
    height: 13px;
    line-height: 10px;
    text-align: center;
    background: #999;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
    color: #d3e9f9;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rwcufr-notice .rwcufr-close-icon:hover {
    background: #333; /* Darker on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .rwcufr_settings_area .rwcufr_settings .nav-tab-wrapper {
        flex-direction: column;
    }

    .rwcufr_settings_area .rwcufr_settings table.form-table th,
    .rwcufr_settings_area .rwcufr_settings table.form-table td {
        display: block;
        width: 100%;
    }

    .rwcufr_settings_area .rwcufr_settings table.form-table th {
        margin-bottom: 10px;
    }

    .rwcufr_settings_area .rwcufr_settings table.form-table input[type="number"] {
        width: 100%;
    }
}
