
.tool-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tool-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.tool-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Bitter', serif;
    color: #212529;
    margin-bottom: 15px;
}

.tool-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.tool-button {
    border-radius: 6px;
    font-weight: 400;
    font-size: 15px !important;
    font-family: 'Roboto', sans-serif;
    padding: 7px 30px;
    border: none;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.tool-button:hover {
    transform: translateY(-1px);
    color: white;
}

/* Cores específicas para cada ferramenta */
.icon-merge { background: linear-gradient(45deg, #4285f4, #6c5ce7); }
.btn-merge { background: #4285f4; }
.btn-merge:hover { background: #3367d6; }

.icon-split { background: linear-gradient(45deg, #00d084, #00b894); }
.btn-split { background: #00d084; }
.btn-split:hover { background: #00b894; }

.icon-rotate { background: linear-gradient(45deg, #fdcb6e, #f39c12); }
.btn-rotate { background: #fdcb6e; color: #333; }
.btn-rotate:hover { background: #f39c12; color: white; }

.icon-bookmark { background: linear-gradient(45deg, #48cae4, #0077be); }
.btn-bookmark { background: #48cae4; }
.btn-bookmark:hover { background: #0077be; }

.icon-insert { background: linear-gradient(45deg, #4285f4, #3367d6); }
.btn-insert { background: #4285f4; }
.btn-insert:hover { background: #3367d6; }

.icon-extract { background: linear-gradient(45deg, #6c757d, #495057); }
.btn-extract { background: #6c757d; }
.btn-extract:hover { background: #495057; }

.icon-ocr { background: linear-gradient(45deg, #17a2b8, #138496); }
.btn-ocr { background: #17a2b8; }
.btn-ocr:hover { background: #138496; }

.icon-summary { background: linear-gradient(45deg, #6f42c1, #563d7c); }
.btn-summary { background: #6f42c1; }
.btn-summary:hover { background: #563d7c; }

.icon-markdown { background: linear-gradient(45deg, #495057, #343a40); }
.btn-markdown { background: #495057; }
.btn-markdown:hover { background: #343a40; }

.icon-mindmap { background: linear-gradient(45deg, #fd7e14, #e8590c); }
.btn-mindmap { background: #fd7e14; }
.btn-mindmap:hover { background: #e8590c; }

.icon-docx { background: linear-gradient(45deg, #2b579a, #1e4074); }
.btn-docx { background: #2b579a; }
.btn-docx:hover { background: #1e4074; }

.icon-xlsx { background: linear-gradient(45deg, #107c41, #0e5c31); }
.btn-xlsx { background: #107c41; }
.btn-xlsx:hover { background: #0e5c31; }

.icon-csv { background: linear-gradient(45deg, #17a2b8, #138496); }
.btn-csv { background: #17a2b8; }
.btn-csv:hover { background: #138496; }

.container-pdf-center {
    max-width: 1200px;
    padding: 40px 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .container-pdf-center {
        padding: 20px 15px;
    }
    
    .tool-card {
        padding: 25px 15px;
    }
    
    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .tool-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .tool-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .tool-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* --- Page Title Style --- */

.page-title-style {
    font-family: 'Bitter', serif;
    color: #dc3545; /* Vermelho */
    font-size: 36px;
    line-height: 42px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 1.5rem; /* 24px */
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title-style i {
    font-size: 1.8rem; /* 28.8px */
}

/* --- Form Styles for Compare & Improve Modules --- */

.image-center-compare,
.image-center-improve {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.image-compare-form, 
.image-improve-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1rem;
}

/* Form label weight for better readability */
.form-label {
    font-weight: 500;
}

/* New File Input Style */
.file-input-group {
    margin-bottom: 1rem;
}

/* Help text under file input */
.file-help-text {
    border: 0px solid #ced4da;
    border-radius: .25rem; /* 4px */
    background-color: #fff;
    cursor: pointer;
    font-size: 14px !important;
}
.file-input-new:hover {
    border-color: #80bdff;
}

.file-input-new .file-input-styled {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.file-input-new .file-input-label-styled {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    height: calc(1.5em + .75rem + 2px); /* Match bootstrap input height */
}

.file-input-new .file-input-button {
    border-right: 1px solid #ced4da;
    padding: .375rem .75rem;
    font-size: 1rem;
    color: #495057;
    white-space: nowrap;
    border-radius: .25rem 0 0 .25rem;
}

.file-input-new .file-input-text-styled {
    padding: .375rem .75rem;
    font-size: 1rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* Action Buttons */
.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 34px;
}

.form-actions .btn-primary {
    color: #fff;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Cor específica para o botão Comparar */
.image-center-compare .form-actions .btn-primary {
    background-color: #4285f4;
    border-color: #4285f4;
}

.image-center-compare .form-actions .btn-primary:hover {
    background-color: #3367d6;
    border-color: #3367d6;
}

/* Cor específica para o botão Melhorar */
.image-center-improve .form-actions .btn-primary {
    background-color: #00d084;
    border-color: #00d084;
}

.image-center-improve .form-actions .btn-primary:hover {
    background-color: #00b894;
    border-color: #00b894;
}

.form-actions .back-to-suite-link {
    color: #6c757d; /* Cinza */
    text-decoration: none;
    vertical-align: middle;
    font-size: 14px;
}

.form-actions .back-to-suite-link:hover {
    text-decoration: underline;
}

/* Progress Bar Styles */
.progress-container {
    margin-top: 20px;
    text-align: center;
}
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-animation 2s infinite;
}
.progress-text {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

@keyframes progress-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* General Alert Styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.alert-content {
    flex: 1;
}
.alert-content ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}
.alert-content p {
    margin: 8px 0 0 0;
}
.alert-content small {
    color: inherit;
    opacity: 0.8;
}
.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}
.alert-success {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}
.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #664d03;
}

/* Privacy Notice */
.privacy-notice {
   background-color: #ffd60a;
   border: 1px solid #ffbe0b;
   border-radius: 6px;
   padding: 12px 16px;
   margin: 10px 0;
   font-size: 13px;
   line-height: 1.4;
   color: #333;
   display: flex;
   align-items: flex-start;
   gap: 8px;
}

.privacy-notice .fa-triangle-exclamation {
   color: #d62d20;
   font-size: 15px;
   margin-top: 1px;
   flex-shrink: 0;
}

.privacy-notice-text {
   flex: 1;
   font-weight: 500;
}

.privacy-notice-text strong {
   font-weight: 600;
   color: #2c2c2c;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
   .privacy-notice {
       font-size: 12px;
       padding: 10px 12px;
   }
   
   .privacy-notice .fa-triangle-exclamation {
       font-size: 14px;
   }
}