.persian-elementor-settings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.persian-elementor-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 3px;
    padding: 20px;
    color: #495157;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    flex-wrap: wrap;
}

.persian-elementor-header-main {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.persian-elementor-header-title {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.persian-elementor-header h1 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.persian-elementor-header h4 {
    color: #495157;
    margin: 5px 0 0;
    font-size: 16px;
    font-weight: normal;
    font-size: 22px;
}

.persian-elementor-header p {
    color: #6d7882;
    line-height: 1.6;
    margin: 5px 0 0;
    font-size: 14px;
}

.persian-elementor-logo {
    margin-left: 20px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.persian-elementor-logo img {
    width: 60px;
    height: 60px;
    display: block;
}

.persian-elementor-main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.persian-elementor-sidebar {
    flex: 1;
    min-width: 300px;
}

.persian-elementor-content {
    flex: 3;
    min-width: 500px;
}

.persian-elementor-premium-ad {
    background: linear-gradient(135deg, #93003c 0%, #800035 100%);
    border-radius: 3px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    position: relative;
    overflow: hidden;
    transition: none;
    cursor: default;
}

.premium-ad-content {
    position: relative;
    z-index: 1;
}

.premium-ad-content h5 {
    margin-top: 0;
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
}

.premium-ad-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.premium-ad-button {
    display: inline-block;
    background: white;
    color: #890038;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.premium-ad-button:hover {
    background: #f8f9fa;
    color: #800035;
}

.persian-elementor-card {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    margin: 0px 0px 20px 0px;
    overflow: hidden;
}

.persian-elementor-card-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #edf2f7;
}

.persian-elementor-card-header h4 {
    margin: 0;
    color: #4a5568;
    font-size: 16px;
    font-weight: bold;
}

.persian-elementor-card-body {
    padding: 20px;
}

.persian-elementor-about {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.persian-elementor-about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.persian-elementor-about-header img {
    width: 60px;
    margin-left: 15px;
    border-radius: 8px;
}

.persian-elementor-about p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.persian-elementor-settings-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
}

.persian-elementor-settings-row:last-child {
    border-bottom: none;
}

.persian-elementor-settings-icon {
    margin-left: 15px;
    background: #f1f3f5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a4afb7;
}

.persian-elementor-settings-content {
    flex-grow: 1;
}

.persian-elementor-settings-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2d3748;
}

.persian-elementor-settings-description {
    color: #718096;
    font-size: 13px;
    margin: 0;
}

.persian-elementor-settings-control {
    margin-right: 15px;
}

.persian-elementor-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.persian-elementor-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

.persian-elementor-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .persian-elementor-slider {
    background-color: #93003c;
}

input:focus + .persian-elementor-slider {
    box-shadow: 0 0 1px #93003c;
}

input:checked + .persian-elementor-slider:before {
    transform: translateX(26px);
}

.persian-elementor-submit {
    background: #93003c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.persian-elementor-submit:hover {
    background: #800035;
}

.featured-banner {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    transition: none;
}

.featured-banner:hover {
    transform: none;
}

.featured-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .persian-elementor-main {
        flex-direction: column;
    }
    
    .persian-elementor-sidebar,
    .persian-elementor-content {
        min-width: 100%;
    }
    
    .persian-elementor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .persian-elementor-header-main {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 0;
    }
    
    .persian-elementor-header-title {
        align-items: center;
    }
    
    .persian-elementor-header h4 {
        margin: 15px 0 0 !important;
    }
}