/* Premium Protect PDF page styling matching tasarim_kodlari/protect-pdf.html */

#tool-workspace {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 0 54px;
}

.main-layout {
    display: grid;
    grid-template-columns: 1.75fr 0.82fr;
    gap: 30px;
    align-items: start;
    width: 100%;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.dropzone {
    border: 2px dashed #a78bfa;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #faf7ff);
    min-height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropzone:hover {
    border-color: #FF8A3D;
    background: linear-gradient(180deg, #ffffff, #f5f0ff);
}

.drop-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF5A3C, #FF8A3D);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

.dropzone h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.dropzone .or {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.dropzone p {
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
}

.file-card {
    overflow: hidden;
    margin-bottom: 18px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid #e5e7eb;
}

.file-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pdf-icon {
    width: 44px;
    height: 52px;
    border-radius: 8px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.pdf-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 12px solid #fecaca;
    border-left: 12px solid transparent;
    border-radius: 0 8px 0 0;
}

.file-title {
    font-weight: 800;
    margin-bottom: 5px;
    word-break: break-all;
}

.file-meta {
    color: #64748b;
    font-size: 14px;
}

.remove-btn {
    border: none;
    background: transparent;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #ef4444;
}

.file-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px 28px;
    border-bottom: 1px solid #e5e7eb;
}

.stat {
    border-right: 1px solid #e5e7eb;
    padding-left: 22px;
}

.stat:first-child {
    padding-left: 0;
}

.stat:last-child {
    border-right: none;
}

.stat-label {
    color: #334155;
    font-weight: 700;
    margin-bottom: 9px;
    font-size: 14px;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
}

.secure-note {
    margin: 22px 28px;
    padding: 16px 18px;
    border-radius: 13px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    gap: 16px;
}

.secure-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ddd6fe;
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.secure-note h4 {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 15px;
}

.secure-note p {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.protect-type-card {
    padding: 24px;
}

.protect-type-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 700;
}

.protect-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.protect-choice {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    display: grid;
    grid-template-columns: 24px 56px 1fr;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: 0.2s;
    background: #ffffff;
}

.protect-choice:hover {
    border-color: #c084fc;
}

.protect-choice.active {
    border-color: #FF8A3D;
    box-shadow: 0 10px 28px rgba(255, 138, 61, 0.10);
    background: #faf8ff;
}

.radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    position: relative;
}

.protect-choice.active .radio-dot {
    border-color: #FF5A3C;
}

.protect-choice.active .radio-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #FF5A3C;
}

.choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ede9fe;
    color: #FF8A3D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.choice-title {
    font-weight: 900;
    margin-bottom: 6px;
    font-size: 16px;
}

.choice-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.settings-card {
    padding: 28px;
}

.settings-card h2 {
    font-size: 21px;
    margin-bottom: 26px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 9px;
    font-weight: 800;
}

.password-box {
    width: 100%;
    height: 48px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1fr 32px;
    gap: 10px;
    align-items: center;
    background: #ffffff;
}

.password-box input {
    border: none;
    outline: none;
    color: #0f172a;
    font-size: 15px;
    width: 100%;
    height: 100%;
    padding: 0;
}

.password-box input:focus {
    box-shadow: none;
}

.password-box input::placeholder {
    color: #94a3b8;
}

.eye {
    color: #64748b;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.side-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 26px 0;
}

.permission-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.permission-desc {
    color: #475569;
    font-size: 14px;
    margin-bottom: 18px;
}

.permission-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 26px;
}

.permission-item {
    display: grid;
    grid-template-columns: 24px 28px 1fr;
    gap: 12px;
    align-items: start;
    cursor: pointer;
}

.permission-item input {
    width: 20px;
    height: 20px;
    accent-color: #FF5A3C;
    margin-top: 3px;
    cursor: pointer;
}

.permission-icon {
    color: #64748b;
    font-size: 20px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
}

.permission-name {
    font-weight: 800;
    margin-bottom: 4px;
    display: block;
    font-size: 14px;
}

.permission-help {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, #FF5A3C, #FF8A3D);
    color: #ffffff;
    border-radius: 10px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 90, 60, 0.25);
    transition: opacity 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.protect-btn {
    width: 100%;
    height: 58px;
    font-size: 17px;
    border-radius: 12px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 38px;
    overflow: hidden;
    width: 100%;
}

.feature {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature:first-child {
    border-radius: 18px 0 0 18px;
}

.feature:last-child {
    border-radius: 0 18px 18px 0;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.green {
    background: #dcfce7;
    color: #16a34a;
}

.purple {
    background: #f3e8ff;
    color: #FF8A3D;
}

.blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 7px;
    font-weight: 700;
}

.feature p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Tab animations and utilities */
.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.disabled-opacity {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .features,
    .protect-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature,
    .feature:first-child,
    .feature:last-child {
        border-radius: 18px;
    }
}

@media (max-width: 640px) {
    .file-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-left: 0;
        padding-bottom: 14px;
    }

    .stat:last-child {
        border-bottom: none;
    }

    .protect-choice {
        grid-template-columns: 24px 44px 1fr;
        padding: 18px;
    }
}
