/* Scoped styles for encryption tool - won't affect header/footer */
    .encryption-tool-wrapper {
        --primary-green: #48772c;
        --secondary-gray: #5f5f5f;
        --white: #ffffff;
        --light-green: #e8f5e0;
        --dark-green: #3a6023;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .encryption-tool-wrapper * {
        box-sizing: border-box;
    }
    
    .encryption-tool-wrapper .hero-section {
        background: linear-gradient(135deg, #48772c 0%, #3a6023 50%, #2d4a1c 100%);
        color: #ffffff;
        padding: 60px 0;
        position: relative;
        overflow: hidden;
    }
    
    .encryption-tool-wrapper .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    
    .encryption-tool-wrapper .hero-content {
        position: relative;
        z-index: 1;
    }
    
    .encryption-tool-wrapper .hero-section h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }
    
    .encryption-tool-wrapper .hero-section p {
        font-size: 1.2rem;
        opacity: 0.95;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .encryption-tool-wrapper .rating-badge {
        display: inline-flex;
        align-items: center;
        background: rgba(255,255,255,0.2);
        padding: 10px 20px;
        border-radius: 50px;
        margin-top: 20px;
        backdrop-filter: blur(10px);
    }
    
    .encryption-tool-wrapper .rating-badge i {
        color: #ffc107;
    }
    
    .encryption-tool-wrapper .main-content {
        background: #f8f9fa;
        padding: 40px 0;
    }
    
    .tool-card{
        height: auto !important;
    }
    
    .encryption-tool-wrapper .tool-card {
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        padding: 35px;
        margin-bottom: 30px;
        border: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .encryption-tool-wrapper .tool-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(72, 119, 44, 0.15);
    }
    
    .encryption-tool-wrapper .section-title {
        color: #48772c;
        font-weight: 700;
        font-size: 1.5rem;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .encryption-tool-wrapper .section-title i {
        background: linear-gradient(135deg, #48772c, #3a6023);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .encryption-tool-wrapper .form-label {
        color: #5f5f5f;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }
    
    .encryption-tool-wrapper .form-control,
    .encryption-tool-wrapper .form-select {
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        padding: 14px 18px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background-color: #ffffff;
    }
    
    .encryption-tool-wrapper .form-control:focus,
    .encryption-tool-wrapper .form-select:focus {
        border-color: #48772c;
        box-shadow: 0 0 0 4px rgba(72, 119, 44, 0.15);
        outline: none;
    }
    
    .encryption-tool-wrapper textarea.form-control {
        min-height: 180px;
        resize: vertical;
        font-family: 'Consolas', 'Monaco', monospace;
    }
    
    .encryption-tool-wrapper .btn-encrypt {
        background: linear-gradient(135deg, #48772c 0%, #3a6023 100%);
        color: #ffffff;
        border: none;
        padding: 16px 40px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .encryption-tool-wrapper .btn-encrypt:hover {
        background: linear-gradient(135deg, #3a6023 0%, #2d4a1c 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(72, 119, 44, 0.4);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .btn-decrypt {
        background: linear-gradient(135deg, #5f5f5f 0%, #4a4a4a 100%);
        color: #ffffff;
        border: none;
        padding: 16px 40px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .encryption-tool-wrapper .btn-decrypt:hover {
        background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(95, 95, 95, 0.4);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .btn-secondary-custom {
        background: #ffffff;
        color: #48772c;
        border: 2px solid #48772c;
        padding: 14px 30px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .encryption-tool-wrapper .btn-secondary-custom:hover {
        background: #48772c;
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .btn-copy {
        background: linear-gradient(135deg, #48772c, #3a6023);
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .encryption-tool-wrapper .btn-copy:hover {
        transform: scale(1.05);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .mode-toggle {
        background: #e8f5e0;
        border-radius: 15px;
        padding: 8px;
        display: inline-flex;
        margin-bottom: 30px;
    }
    
    .encryption-tool-wrapper .mode-toggle .btn {
        padding: 12px 35px;
        border-radius: 10px;
        font-weight: 600;
        border: none;
        transition: all 0.3s ease;
    }
    
    .encryption-tool-wrapper .mode-toggle .btn.active {
        background: #48772c;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(72, 119, 44, 0.3);
    }
    
    .encryption-tool-wrapper .mode-toggle .btn:not(.active) {
        background: transparent;
        color: #5f5f5f;
    }
    
    .encryption-tool-wrapper .ad-space {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border: 2px dashed #dee2e6;
        border-radius: 15px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-weight: 500;
        position: sticky;
        top: 20px;
    }
    
    .encryption-tool-wrapper .feature-box {
        background: #ffffff;
        border-radius: 15px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
        border: 1px solid #e8f5e0;
    }
    
    .encryption-tool-wrapper .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(72, 119, 44, 0.15);
        border-color: #48772c;
    }
    
    .encryption-tool-wrapper .feature-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #e8f5e0 0%, #d4edcc 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 2rem;
        color: #48772c;
    }
    
    .encryption-tool-wrapper .feature-box h4 {
        color: #48772c;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .encryption-tool-wrapper .feature-box p {
        color: #5f5f5f;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .encryption-tool-wrapper .content-section {
        background: #ffffff;
        border-radius: 20px;
        padding: 50px;
        margin-top: 40px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    
    .encryption-tool-wrapper .content-section h2 {
        color: #48772c;
        font-weight: 700;
        margin-bottom: 25px;
        font-size: 1.8rem;
    }
    
    .encryption-tool-wrapper .content-section h3 {
        color: #5f5f5f;
        font-weight: 600;
        margin: 30px 0 15px;
        font-size: 1.4rem;
    }
    
    .encryption-tool-wrapper .content-section p {
        color: #5f5f5f;
        line-height: 1.8;
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    
    .encryption-tool-wrapper .content-section ul {
        color: #5f5f5f;
        line-height: 2;
    }
    
    .encryption-tool-wrapper .content-section ul li {
        margin-bottom: 10px;
        padding-left: 10px;
    }
    
    .encryption-tool-wrapper .faq-section {
        margin-top: 50px;
    }
    
    .encryption-tool-wrapper .accordion-item {
        border: none;
        margin-bottom: 15px;
        border-radius: 15px !important;
        overflow: hidden;
        box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    }
    
    .encryption-tool-wrapper .accordion-button {
        font-weight: 600;
        color: #48772c;
        background: #ffffff;
        padding: 20px 25px;
        font-size: 1.1rem;
    }
    
    .encryption-tool-wrapper .accordion-button:not(.collapsed) {
        background: #e8f5e0;
        color: #48772c;
        box-shadow: none;
    }
    
    .encryption-tool-wrapper .accordion-button:focus {
        box-shadow: none;
        border-color: #48772c;
    }
    
    .encryption-tool-wrapper .accordion-body {
        padding: 25px;
        color: #5f5f5f;
        line-height: 1.8;
        background: #ffffff;
    }
    
    /* Toast/Popup Styles */
    .encryption-tool-wrapper .custom-toast {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        min-width: 320px;
        padding: 20px 25px;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        display: none;
        animation: slideIn 0.4s ease;
    }
    
    .encryption-tool-wrapper .custom-toast.success {
        background: linear-gradient(135deg, #48772c, #3a6023);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .custom-toast.error {
        background: linear-gradient(135deg, #dc3545, #c82333);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .custom-toast.info {
        background: linear-gradient(135deg, #5f5f5f, #4a4a4a);
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .toast-content {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .encryption-tool-wrapper .toast-icon {
        font-size: 1.5rem;
    }
    
    .encryption-tool-wrapper .toast-message {
        font-weight: 500;
        font-size: 1rem;
    }
    
    .encryption-tool-wrapper .toast-close {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.2rem;
        cursor: pointer;
        opacity: 0.8;
    }
    
    .encryption-tool-wrapper .toast-close:hover {
        opacity: 1;
    }
    
    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }
    
    .encryption-tool-wrapper .related-tools {
        background: #e8f5e0;
        border-radius: 15px;
        padding: 30px;
        margin-top: 30px;
    }
    
    .encryption-tool-wrapper .related-tools h4 {
        color: #48772c;
        font-weight: 700;
        margin-bottom: 20px;
    }
    
    .encryption-tool-wrapper .related-tool-link {
        display: block;
        padding: 12px 20px;
        background: #ffffff;
        border-radius: 10px;
        margin-bottom: 10px;
        color: #5f5f5f;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .encryption-tool-wrapper .related-tool-link:hover {
        background: #48772c;
        color: #ffffff;
        transform: translateX(10px);
    }
    
    .encryption-tool-wrapper .related-tool-link i {
        margin-right: 10px;
    }
    
    .encryption-tool-wrapper .stats-section {
        background: linear-gradient(135deg, #48772c 0%, #3a6023 100%);
        border-radius: 20px;
        padding: 40px;
        margin: 40px 0;
        color: #ffffff;
    }
    
    .encryption-tool-wrapper .stat-item {
        text-align: center;
        padding: 20px;
    }
    
    .encryption-tool-wrapper .stat-number {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 10px;
    }
    
    .encryption-tool-wrapper .stat-label {
        font-size: 1.1rem;
        opacity: 0.9;
    }
    
    @media (max-width: 991px) {
        .encryption-tool-wrapper .ad-space {
            min-height: 100px;
            margin-bottom: 20px;
        }
        
        .encryption-tool-wrapper .hero-section h1 {
            font-size: 2rem;
        }
        
        .encryption-tool-wrapper .tool-card {
            padding: 25px;
        }
    }
    
    @media (max-width: 767px) {
        .encryption-tool-wrapper .btn-encrypt,
        .encryption-tool-wrapper .btn-decrypt {
            width: 100%;
            margin-bottom: 10px;
        }
        
        .encryption-tool-wrapper .content-section {
            padding: 30px 20px;
        }
    }