/* ==========================================================================
   DR DESIGN - PRICING NEW SEPARATE CSS FILE
   Description: Contains styles for Transparent Pricing Plans including 
                Graphic Design, Product Packaging, Web Design & Social Media.
   ========================================================================== */

:root {
    --dr-primary: #ff6600;      /* Signature Orange */
    --dr-dark: #222222;         /* Dark Charcoal */
    --dr-light: #f9f9f9;        /* Soft Gray Background */
    --dr-white: #ffffff;        /* Pure White */
    --dr-gray: #666666;         /* Classic Muted Gray */
    --dr-border: #eeeeee;       /* Light border line */
    --dr-success: #25d366;      /* Success Green for checkmarks */
    --dr-danger: #ff3e3e;       /* Danger Red for warnings/extra revision costs */
}

/* Base Pricing Section Settings */
.dr-pricing-wrapper {
    padding: 80px 0 60px 0;
    background-color: var(--dr-light);
    font-family: 'Source Sans Pro', sans-serif;
}

/* Transparent Pricing Main Title Section */
.dr-pricing-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.dr-pricing-main-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.dr-pricing-main-header p {
    color: var(--dr-gray);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Category Block Styling (Tables Wrapper) */
.dr-category-block {
    margin-bottom: 65px;
}

.dr-category-block h3 {
    text-align: center;
    font-size: 1.6rem;
    color: #333333;
    margin-bottom: 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Panel Container for Rates Table */
.dr-rate-table-card {
    max-width: 850px;
    margin: 0 auto;
    background: var(--dr-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Nested Category Section Headers */
.dr-sub-section-title {
    color: var(--dr-primary);
    border-left: 4px solid var(--dr-primary);
    padding-left: 12px;
    margin: 30px 0 18px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.dr-sub-section-title:first-of-type {
    margin-top: 5px;
}

/* Data Table Custom Rules */
.dr-pricing-table {
    width: 100%;
    border-collapse: collapse;
    color: #333333;
    margin-bottom: 25px;
}

.dr-pricing-table thead tr {
    border-bottom: 2px solid var(--dr-primary);
    text-align: left;
}

.dr-pricing-table th {
    padding: 12px 10px;
    font-weight: 600;
    color: var(--dr-primary);
    font-size: 1.05rem;
}

.dr-pricing-table td {
    padding: 12px 10px;
    font-size: 0.98rem;
    vertical-align: middle;
}

.dr-pricing-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.dr-pricing-table tbody tr:hover {
    background-color: #fdfdfd;
}

.dr-pricing-table td i {
    color: var(--dr-primary);
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.dr-pricing-table td.dr-work-name {
    font-weight: 400;
}

.dr-pricing-table td.dr-work-price {
    text-align: right;
    font-weight: 700;
    color: #111111;
    white-space: nowrap;
}

/* Extra Revision Rows Special Highlight */
.dr-row-highlight {
    background-color: #fff9f6;
}

.dr-row-highlight td {
    color: var(--dr-danger) !important;
}

.dr-row-highlight td i {
    color: var(--dr-danger) !important;
}

.dr-row-highlight span {
    font-size: 0.85rem;
    color: var(--dr-gray);
    font-weight: 400;
}

/* Work Policy / Terms & Conditions Box Inside Rate Cards */
.dr-terms-notice-box {
    background-color: #fafafa;
    border-top: 3px solid #ffcc00;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
}

.dr-terms-notice-box strong {
    color: #222222;
    font-size: 0.98rem;
    display: block;
    margin-bottom: 8px;
}

.dr-terms-notice-box strong i {
    color: #ffcc00;
    margin-right: 8px;
}

.dr-terms-notice-box ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: decimal;
}

.dr-terms-notice-box ul li {
    margin-bottom: 6px;
}

/* Standardized Center Action Order Buttons */
.dr-action-btn-center {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.dr-order-now-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--dr-primary);
    color: var(--dr-white) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
}

.dr-order-now-btn:hover {
    background-color: #e05a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
}

/* ==========================================================================
   SOCIAL MEDIA DYNAMIC CARD GRID WITH MONTHLY/YEARLY TOGGLE
   ========================================================================== */

.dr-pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
}

.dr-toggle-label {
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dr-toggle-label.active {
    color: var(--dr-primary);
}

.dr-toggle-label.inactive {
    color: var(--dr-gray);
}

.dr-discount-badge {
    background: #ff3e3e;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: 700;
}

/* Custom Toggle Switch Design */
.dr-switch-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-bottom: 0;
}

.dr-switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dr-slider-round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.dr-slider-circle {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.dr-switch-container input:checked + .dr-slider-round {
    background-color: var(--dr-primary);
}

.dr-switch-container input:checked + .dr-slider-round .dr-slider-circle {
    transform: translateX(30px);
}

/* Social Media Cards Layout Grid */
.dr-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.dr-price-card {
    background: var(--dr-white);
    border-radius: 14px;
    padding: 45px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eeeeee;
}

.dr-price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.12);
}

/* Standard/Featured Card Custom Styling */
.dr-price-card.featured {
    border: 2px solid var(--dr-primary);
    background: var(--dr-dark);
    color: var(--dr-white);
}

.dr-popular-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dr-primary);
    color: var(--dr-white);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.dr-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.dr-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
    color: var(--dr-primary);
}

.dr-price-card:not(.featured) .dr-plan-name {
    color: var(--dr-gray);
}

.dr-plan-price {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dr-dark);
    line-height: 1.1;
    transition: all 0.3s ease;
}

.dr-price-card.featured .dr-plan-price {
    color: var(--dr-white);
}

.dr-plan-price span {
    font-size: 0.95rem;
    color: var(--dr-gray);
    font-weight: 400;
}

.dr-price-card.featured .dr-plan-price span {
    color: #cccccc;
}

.dr-plan-period-text {
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* Features List Inside Cards */
.dr-card-features-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 35px;
}

.dr-card-features-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.dr-card-features-list li i.fa-check {
    color: var(--dr-success);
    font-size: 1rem;
}

/* Card Button Settings */
.dr-card-btn {
    text-decoration: none !important;
    text-align: center;
    padding: 12px 25px;
    border: 2px solid var(--dr-primary);
    color: var(--dr-primary);
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    background: transparent;
    cursor: pointer;
}

.dr-card-btn:hover {
    background: var(--dr-primary);
    color: var(--dr-white) !important;
}

.dr-price-card.featured .dr-card-btn {
    background: var(--dr-primary);
    color: var(--dr-white);
    border: 2px solid var(--dr-primary);
}

.dr-price-card.featured .dr-card-btn:hover {
    background: transparent;
    color: var(--dr-primary) !important;
}

/* ==========================================================================
   GLOBAL TERMS & CONDITIONS SECTION POLICY BOX
   ========================================================================== */
.dr-global-policy-box {
    background-color: var(--dr-white);
    border-top: 3px solid #ff5a1f;
    padding: 25px;
    border-radius: 8px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    color: #444444;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.dr-global-policy-box strong.dr-policy-title {
    color: #222222;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 15px;
}

.dr-global-policy-box strong.dr-policy-title i {
    color: #ff5a1f;
    margin-right: 10px;
}

.dr-global-policy-box ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.dr-global-policy-box ul li {
    margin-bottom: 8px;
    text-align: left;
}

/* Responsive Custom Optimizations */
@media(max-width: 768px) {
    .dr-pricing-main-header h2 {
        font-size: 2rem;
    }
    .dr-rate-table-card {
        padding: 20px 15px;
    }
    .dr-pricing-table th, .dr-pricing-table td {
        padding: 8px 5px;
        font-size: 0.9rem;
    }
    .dr-order-now-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}