/* Search Results Styling */
.search-result {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-result p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.search-result strong {
    color: #dbb365;
    font-weight: 600;
}

/* Input styling for search */
.input-box {
    position: relative;
    margin: 20px 0;
}

.input-box input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-box input:focus {
    border-color: #dbb365;
}

.input-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #dbb365;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.input-box button:hover {
    background: #c9a052;
}

/* Enhanced Search Results */
.search-result-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #dbb365, #1e3c72);
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.result-passport {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-found {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.result-content {
    line-height: 1.6;
}

.result-data {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dbb365;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.print-btn {
    background: #6c757d;
    color: white;
}

.print-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.contact-btn {
    background: #28a745;
    color: white;
}

.contact-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
    border-left: 4px solid #dbb365;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Notification Types */
.notification-success {
    border-left-color: #28a745;
}

.notification-success .notification-icon {
    color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-error .notification-icon {
    color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-warning .notification-icon {
    color: #ffc107;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-info .notification-icon {
    color: #17a2b8;
}

/* Animation */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Enhancement */
.search-loading.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.loading-spinner-search {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #dbb365;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Database Result Styling */
.client-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 0;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.info-row {
    display: flex;
    align-items: flex-start;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.info-row:hover {
    background-color: #f8f9fa;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 180px;
    font-weight: 600;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 2px;
}

.info-label i {
    width: 16px;
    text-align: center;
    color: #dbb365;
}

.info-value {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

.status-highlight {
    background: linear-gradient(45deg, #dbb365, #f4d03f);
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(219, 179, 101, 0.3);
}

.message-text {
    background: #e8f4fd;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-style: italic;
    color: #2c3e50;
}

.print-info {
    background: #e8f5e8;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.info-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 24px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.update-time {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.update-time i {
    color: #dbb365;
}

/* Mobile Responsive for Database Results */
@media (max-width: 768px) {
    .client-info {
        margin: 15px 0;
        border-radius: 8px;
    }

    .info-row {
        flex-direction: column;
        padding: 12px 16px;
        gap: 8px;
    }

    .info-label {
        flex: none;
        font-size: 13px;
        margin-bottom: 4px;
    }

    .info-value {
        font-size: 14px;
    }

    .status-highlight {
        font-size: 12px;
        padding: 4px 10px;
    }

    .message-text,
    .print-info {
        padding: 10px 12px;
        font-size: 13px;
    }

    .info-footer {
        padding: 10px 16px;
    }

    .update-time {
        font-size: 11px;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .search-result {
        padding: 15px;
        margin: 10px 0;
    }

    .search-result p {
        font-size: 14px;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .result-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* Enhanced Database Integration Styles */

/* No Results Enhanced */
.no-results {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px dashed rgba(219, 179, 101, 0.3);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(219, 179, 101, 0.05) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.no-results-icon {
    font-size: 64px;
    color: rgba(219, 179, 101, 0.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.no-results-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #333);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.no-results-subtext {
    font-size: 16px;
    color: var(--text-light, #666);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Error Message Enhanced */
.error-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid rgba(220, 53, 69, 0.2);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.error-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.error-icon {
    font-size: 64px;
    color: #dc3545;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.error-text {
    font-size: 20px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.error-subtext {
    font-size: 16px;
    color: var(--text-light, #666);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.error-contact {
    position: relative;
    z-index: 1;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.error-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: white;
}

/* Additional Action Buttons */
.share-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.share-btn:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    transform: translateY(-2px);
    color: white;
}

.search-again-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
}

.search-again-btn:hover {
    background: linear-gradient(135deg, #5a32a3 0%, #4c2a85 100%);
    transform: translateY(-2px);
    color: white;
}

/* Result Timestamp */
.result-timestamp {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(108, 117, 125, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Search History Styles */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.history-header h4 {
    margin: 0;
    color: var(--text-dark, #333);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-history-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-history-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.history-list {
    max-height: 200px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.history-item:hover {
    background: rgba(219, 179, 101, 0.1);
    border-color: rgba(219, 179, 101, 0.3);
    transform: translateX(5px);
}

.history-passport {
    font-weight: 600;
    color: var(--primary-color, #1e3c72);
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Enhanced Passport Number Display */
.passport-number {
    background: linear-gradient(135deg, rgba(219, 179, 101, 0.1) 0%, rgba(219, 179, 101, 0.05) 100%);
    color: var(--primary-color, #1e3c72) !important;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    border: 1px solid rgba(219, 179, 101, 0.3);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(219, 179, 101, 0.2);
}

/* Search ID Display */
.search-id {
    background: rgba(108, 117, 125, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Enhanced Client Info Header */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin: -25px -25px 20px -25px;
    border-radius: 12px 12px 0 0;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-status .status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Value Styles */
.client-name {
    font-weight: 600;
    color: #1e3c72 !important;
    font-size: 16px;
}

.date-value {
    background: rgba(40, 167, 69, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    color: #28a745 !important;
    font-weight: 500;
}

.visa-type {
    background: rgba(255, 193, 7, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    color: #856404 !important;
    font-weight: 500;
}

.country-name {
    background: rgba(23, 162, 184, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    color: #17a2b8 !important;
    font-weight: 500;
}

/* Payment Status Badges */
.payment-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.payment-مدفوع {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.payment-غير-مدفوع {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.payment-مدفوع-جزئياً {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Enhanced Footer */
.info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: -25px;
    border-top: 1px solid #e0e0e0;
}

.footer-left, .footer-right {
    display: flex;
    align-items: center;
}

/* Action Buttons */
.info-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    padding: 20px 15px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0 0 12px 12px;
}

.action-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn i {
    font-size: 16px;
}

.print-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
    color: white;
}

.contact-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: white;
}

.share-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
    color: white;
}

.download-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
    color: white;
}

.print-visa-btn {
    background: linear-gradient(135deg, #fd7e14 0%, #e55a00 100%);
    color: white;
}

.print-visa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3);
    color: white;
}

/* No Results Contact Button */
.no-results-contact {
    margin-top: 20px;
}

.no-results .contact-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-results .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
    color: white;
}

/* Animation */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Loading State */
.action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.action-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Button Success State */
.action-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.action-btn.success i::before {
    content: '\f00c' !important; /* checkmark icon */
}

/* Tooltip for buttons */
.action-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.action-btn[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .info-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin: -20px -20px 15px -20px;
        padding: 15px;
    }

    .info-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin: 15px -20px -20px -20px;
        padding: 15px;
    }

    .info-actions {
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
    }

    .action-btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
    }

    .action-btn i {
        font-size: 18px;
    }

    .client-info {
        padding: 20px 15px;
    }
}

/* Enhanced Button Animations */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.action-btn:active {
    animation: buttonPulse 0.3s ease;
}

/* Button Focus States */
.action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.3);
}

/* Disabled Button State */
.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.action-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.action-btn.success {
    animation: successPulse 0.6s ease;
}

/* Print Button Special Effects */
.print-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
}

/* Contact Button Special Effects */
.contact-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

/* Enhanced Tooltips */
.action-btn[data-tooltip] {
    position: relative;
}

.action-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.action-btn[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
    z-index: 1000;
    margin-bottom: 2px;
}
