/**
 * Portfolio Admin Style
 *
 * Responsive Portfolio Image Gallery 1.3 - 10 July, 2025
 * https://www.realwebcare.com/
 */

/* General Container Styling */
.rpgal_settings_area {
    padding: 0;
    border-radius: 8px;
    max-width: 1200px;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.rpgal_settings_area .wrap.rpgal_settings {
    width: 66%;
    margin: 0;
}

#wpbody-content .rpgal_settings_area .wrap.rpgal_settings .metabox-holder {
    min-height: 450px;
}

/* Header Styling */
.rpgal_settings_area .rpgal_settings .main-header {
    font-size: 24px;
    color: #23282d;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #229d56;
    padding-bottom: 10px;
}

/* Tab Navigation Styling */
.rpgal_settings_area .wrap.rpgal_settings .nav-tab-wrapper {
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}
.rpgal_settings_area .wrap.rpgal_settings .nav-tab {
    padding: 10px 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    color: #229d56;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rpgal_settings_area .wrap.rpgal_settings .nav-tab:hover {
    background: linear-gradient(135deg, #2ecc71, #229d56);
    color: #fff;
}

.rpgal_settings_area .wrap.rpgal_settings .nav-tab:focus {
    box-shadow: 0 0 0 2px #27ae60;
}

.rpgal_settings_area .wrap.rpgal_settings .nav-tab-active {
    background: linear-gradient(135deg, #2ecc71, #229d56);
    color: #fff;
    border-color: #27ae60;
}

/* Form Table Styling */
.rpgal_settings_area .rpgal_settings .form-table {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rpgal_settings_area .rpgal_settings .form-table th,
.rpgal_settings_area .rpgal_settings .form-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_delall th,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_delall td {
    border-color: transparent;
}

.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_caution td,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_caution td h5 {
    margin-top: 0;
    padding-top: 0;
}

.rpgal_settings_area .rpgal_settings .form-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #23282d;
    width: 32%;
    padding-top: 20px;
}

.rpgal_settings_area .rpgal_settings .form-table td {
    background-color: #fff;
}

.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapgen,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapcon,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapadv {
    position: relative;
    top: -1px;
}

.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapgen th,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapgen td,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapcon th,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapcon td,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapadv th,
.rpgal_settings_area .rpgal_settings .form-table tr.rpgal_gapadv td {
    padding: 10px 0;
}

/* Input Fields Styling */
.rpgal_settings_area .rpgal_settings input[type="text"],
.rpgal_settings_area .rpgal_settings input[type="number"],
.rpgal_settings_area .rpgal_settings textarea,
.rpgal_settings_area .rpgal_settings select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #23282d;
    line-height: 1rem;
    transition: border-color 0.3s ease;
}

.rpgal_settings_area .rpgal_settings input[type="text"]:focus,
.rpgal_settings_area .rpgal_settings input[type="number"]:focus,
.rpgal_settings_area .rpgal_settings textarea:focus,
.rpgal_settings_area .rpgal_settings select:focus {
    border-color: #229d56;
    outline: none;
}

.rpgal_settings_area .rpgal_settings textarea {
    resize: vertical;
    min-height: 100px;
}

.rpgal_settings_area .rpgal_settings .tags-list {
    display: none;
}


.rpgal_settings_area .rpgal_settings .tags-list a {
    background: #23282d;
    color: #fff;
    margin: 3px 6px 3px 0;
    padding: 3px 5px;
    font-size: 12px;
    display: inline-block
}

/* Checkbox and Radio Button Styling */
.rpgal_settings_area .rpgal_settings input[type="checkbox"],
.rpgal_settings_area .rpgal_settings input[type="radio"] {
    margin-right: 10px;
}

.rpgal_settings_area .rpgal_settings .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Submit Button Styling */
.rpgal_settings_area .rpgal_settings .button-primary {
    background-color: #229d56;
    border-color: #27ae60;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rpgal_settings_area .rpgal_settings .button-primary:hover {
    background-color: #27ae60;
    border-color: #218f4e;
}

/* Advanced Settings Section */
.rpgal_settings_area .rpgal_settings .group {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Narration */
#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal {
    margin: 0 0 10px;
    line-height: 30px
}

#rpgal-narration #rpgalusage-note .rpgal 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
}

#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal 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
}


#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal a:hover {
    color: #135e96;
    text-decoration: underline
}


#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal ol li {
    line-height: 1.4;
    color: #262626
}

#rpgal-narration {
    position: relative;
    top: 30px;
    margin: 0 0 30px;
    padding: 15px 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#rpgal-narration #rpgalusage-note.rpgalusage-maincontent {
    padding-bottom: 20px
}

#rpgal-narration #rpgalusage-note .rpgal h3 {
    margin: 20px 0;
}

#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal .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
}

#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal .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%);
    transition: all 0.5s ease;
}

#rpgal-narration #rpgalusage-note.rpgalusage-maincontent .rpgal .likeit a:hover {
    text-decoration: none;
    color: #ffe000;
    background-image: linear-gradient(335deg, #fe8a39 0%, #fd3838 74%)
}
/* // Narration */

/* Sidebar Container Styling */
#rpgal-sidebar {
    position: relative;
    top: 30px;
    margin: 0 auto;
    width: 26%;
    display: inline-flex;
    flex-flow: column;
    align-items: center;
}

/* Sidebar Sections Styling */
#rpgal-sidebar .rpgalusage-sidebar {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
}

#rpgal-sidebar.rpgal-main #rpgalusage-shortcode {
    position: relative;
    top: 106px;
}

#rpgal-sidebar #rpgalusage-features.rpgalusage-sidebar {
    width: calc(100% + 40px);
    background: #fff;
    color: #1d2327;
    border: none;
    margin-bottom: 15px;
    padding: 0;
    border-radius: 10px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Feature Header Styling */
#rpgal-sidebar .rpgalusage-feature-header img {
    width: 100%;
    position: relative;
    top: -2px;
    height: 194px;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Feature Body Styling */
#rpgal-sidebar #rpgalusage-features.rpgalusage-sidebar .rpgalusage-feature-body {
    margin: 0;
    padding: 0 20px 20px;
}

#rpgal-sidebar .rpgalusage-feature-body h3 {
    font-size: 20px;
    color: #23282d;
    margin-bottom: 15px;
    font-weight: 600;
}

#rpgal-sidebar .rpgalusage-feature-body .rpgal {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

#rpgal-sidebar .rpgalusage-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#rpgal-sidebar .rpgalusage-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#rpgal-sidebar .rpgalusage-list li::before {
    content: "•";
    color: #229d56;
    position: absolute;
    left: 0;
}

#rpgal-sidebar .rpgalusage-list li a {
    color: #229d56;
    text-decoration: none;
    transition: color 0.3s ease;
}

#rpgal-sidebar .rpgalusage-list li a:hover {
    color: #218f4e;
}

/* Button Styling */
#rpgal-sidebar .btn-demo {
    display: inline-block;
    width: calc(100% - 40px);
    background-color: #229d56;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase;
}

#rpgal-sidebar .btn-demo.btn-top {
    width: calc(100% - 42px);
    margin-top: 5px;
    margin-bottom: 20px;
    background-color: #ffffff;
    color: #229d56;
    border: 2px solid #229d56;
}

#rpgal-sidebar .btn-demo:hover {
    background-color: #27ae60;
}

#rpgal-sidebar .btn-demo.btn-top:hover {
    color: #fff;
}

/* Shortcode Section Styling */
#rpgal-sidebar #rpgalusage-shortcode h3 {
    font-size: 20px;
    color: #23282d;
    margin-bottom: 15px;
    font-weight: 600;
}

#rpgal-sidebar #rpgalusage-shortcode .rpgal {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

#rpgal-sidebar #rpgalusage-shortcode ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 15px;
}

#rpgal-sidebar #rpgalusage-shortcode ol li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

#rpgal-sidebar #rpgalusage-shortcode.rpgalusage-sidebar .rpgal-scode {
    color: #229d56;
    font-weight: 500;
}

#rpgal-sidebar #rpgalusage-shortcode.rpgalusage-sidebar .rpgal-scode 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;
}

#rpgal-sidebar #rpgalusage-shortcode.rpgalusage-sidebar .rpgal-scode pre {
    margin: 10px 0
}

#rpgal-sidebar .copy-tooltip {
    display: block;
    background-color: #229d56;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

#rpgal-sidebar .copy-tooltip:hover {
    background-color: #27ae60;
}

/* Plugin Info Section Styling */
#rpgal-sidebar #rpgalusage-info h3 {
    font-size: 20px;
    color: #23282d;
    margin-bottom: 15px;
    font-weight: 600;
}

#rpgal-sidebar #rpgalusage-info .rpgalusage-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

#rpgal-sidebar #rpgalusage-info .rpgalusage-list li::before {
    content: "•";
    color: #229d56;
    position: absolute;
    left: 0;
}

#rpgal-sidebar #rpgalusage-info .rpgalusage-list li a {
    color: #229d56;
    text-decoration: none;
    transition: color 0.3s ease;
}

#rpgal-sidebar #rpgalusage-info .rpgalusage-list li a:hover {
    color: #218f4e;
}

/* Guide */
.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 34px 10px 20px 0;
    line-height: 1.6
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .get-instructed {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions {
    list-style: decimal inside;
    margin: 0;
    padding: 0;
    color: #333
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions ul {
    list-style: disc inside;
    margin: 10px 0 0 20px;
    padding: 0
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions li {
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions li pre {
    display: inline-block
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions li code {
    display: inline;
    margin: 10px 5px;
    padding: 10px;
    background-color: #1F1F1F;
    border: 1px solid #ddd;
    color: #55c6f9;
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .rpgal-guide-instructions li strong {
    color: #0056b3;
    font-weight: bold
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .getting-started_video {
    display: flex
}

.rpgal_settings_area .wrap.rpgal_settings .rpgal-guide-info .getting-started_video img {
    max-width: 100%
}

.rpgal_settings_area .rpgal-guide-info .rpgal-guide-instructions .rpgal-keyword {
    color: #B8DC9F
}

.rpgal_settings_area .rpgal-guide-info .rpgal-guide-instructions .rpgal-function {
    color: #fe8d59
}

.rpgal_settings_area .rpgal-guide-info .rpgal-guide-instructions .rpgal-string {
    color: #00fbbd
}
/* // Guide */

/* Review */
#rpgal-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 .6s ease-in-out
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#rpgal-review p {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0
}

#rpgal-review b {
    color: #229d56
}

.rpgal-review-btn {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px
}

.rpgal-review-btn .button-primary, .rpgal-review-btn .button-secondary {
    transition: background-color .3s ease, transform .2s ease
}

.rpgal-review-btn .button-primary:hover, .rpgal-review-btn .button-secondary:hover {
    transform: scale(1.05)
}

.rpgal-is-dismissible {
    position: relative;
    padding-right: 40px
}

.rpgal-notice .rpgal-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 .3s ease
}

.rpgal-notice .rpgal-close-icon:hover {
    background: #333
}
/* //Review */

/* Portfolio Meta */
#rpgal_portfolio_meta .inside img {
    margin: 5px
}
#rpgal_portfolio_meta .rpgal_upload_media {
    margin: 0 auto;
    padding: 7px 0;
    color: #fff;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background: #2271b1;
    border: 1px solid #2271b1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset -1px -1px 2px 0 rgb(20 69 108 / 75%);
    box-shadow: inset -1px -1px 2px 0 rgb(20 69 108 / 75%);
    transition: all 0.3s ease;
}
#rpgal_portfolio_meta .rpgal_upload_media:hover {
    background: #135e96;
    border-color: #135e96;
    -webkit-box-shadow: inset 1px 1px 2px 0 rgb(20 69 108 / 75%);
    box-shadow: inset 1px 1px 2px 0 rgb(20 69 108 / 75%);
}
#rpgal_portfolio_meta .remove_image {
    margin: 10px 0 0 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
    display: block
}
#rpgal_portfolio_button .advance-input label.input-title {
    color: #555555;
    margin: 0;
    padding: 10px 0;
    display: inline-block;
    font-size: 15px;
    width: 320px
}
#rpgal_portfolio_button .advance-input input.medium {
    width: 40%;
    margin: 5px 3px 0;
    padding: 6px 4px;
    border-radius: 5px;
    border: 1px solid #ccc
}
#rpgal_portfolio_button .advance-input select.port-dir {
    width: 20%;
    margin: 2px 3px 0;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .rpgal_settings .form-table th,
    .rpgal_settings .form-table td {
        display: block;
        width: 100%;
    }

    .rpgal_settings .form-table th {
        background-color: transparent;
        padding-bottom: 5px;
    }

    .rpgal_settings .form-table td {
        padding-top: 5px;
    }

    #rpgal-sidebar {
        width: 100%;
        padding: 0 20px;
    }

    .rpgalusage-sidebar {
        width: 100%;
    }
}