/* Tools Page Styles - Matching InstaPdfEditor Theme */

/* Main Section */
.div-esign {
    background: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 100%);
    min-height: 80vh;
}

/* Heading */
.text-esign {
    color: #0F1729 !important;
}

/* Paragraph */
.para-esign1 {
    font-size: 16px;
    color: #5B6B84;
    line-height: 1.6;
}

/* Primary Button */
.btn-esign {
    background: #FA1B3E;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-esign:hover {
    background: #e0183a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 27, 62, 0.3);
}

.btn-esign:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Secondary Button */
.btn-esign-outline {
    background: transparent;
    color: #FA1B3E;
    border: 2px solid #FA1B3E;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-esign-outline:hover {
    background: #FA1B3E;
    color: #fff;
}

/* Upload Area */
.upload-area {
    background: #fff;
    border: 2px dashed #D8DFE6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #FA1B3E;
    background: #FFF9F9;
}

.upload-area.dragover {
    border-color: #FA1B3E;
    background: #FFF0F3;
}

.upload-area i {
    font-size: 48px;
    color: #118AB2;
    margin-bottom: 16px;
}

.upload-area h5 {
    color: #0F1729;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-area p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Form Controls */
.form-control {
    border: 1px solid #D8DFE6;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #118AB2;
    box-shadow: none;
}

.form-label {
    color: #0F1729;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    background: #E4E9F0;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #118AB2, #118AB2);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Download Section */
.download-section {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.download-section h5 {
    color: #0F1729;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Tool Card */
.tool-card {
    background: #fff;
    border: 1px solid #E4E9F0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    border-color: #FA1B3E;
    box-shadow: 0 4px 12px rgba(250, 27, 62, 0.1);
    transform: translateY(-2px);
}

.tool-card h5 {
    color: #0F1729;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.tool-card p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

.tool-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

/* More Tools Sidebar */
.more-tools {
    background: #fff;
    border: 1px solid #E4E9F0;
    border-radius: 12px;
    padding: 24px;
}

.more-tools h5 {
    color: #FA1B3E;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.more-tools ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-tools ul li {
    padding: 12px 0;
    border-bottom: 1px solid #E4E9F0;
}

.more-tools ul li:last-child {
    border-bottom: none;
}

.more-tools ul li a {
    color: #0F1729;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.more-tools ul li a:hover {
    color: #FA1B3E;
}

.more-tools ul li a img {
    width: 24px;
    height: 24px;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 20px 0;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #D8DFE6;
}

/* Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.alert-success {
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

/* Diagnostic Panel */
.diagnostics-panel {
    background: #F8F9FA;
    border: 1px solid #E4E9F0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.diagnostics-panel .status-ok {
    color: #10B981;
}

.diagnostics-panel .status-warn {
    color: #F59E0B;
}

.diagnostics-panel .status-error {
    color: #EF4444;
}

/* Responsive */
@media (max-width: 767px) {
    .div-esign {
        padding: 30px 15px !important;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .upload-area i {
        font-size: 36px;
    }
    
    .btn-esign {
        width: 100%;
        justify-content: center;
    }
    
    .download-section {
        padding: 30px 20px;
    }
}
