﻿/*table*/ 
.bordered-table {
    border-collapse: collapse;
    width: 100%;
}

    .bordered-table th, .bordered-table td {
        border: 1px solid #ddd;
        padding: 2px;
    }

    .bordered-table th {
        background-color: cornflowerblue;
        color: white;
    }


/* Professional Form Container */
.professional-form {
    max-width: 720px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}

/* Form Header (add if needed) */
.professional-form-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .professional-form-header h2 {
        font-weight: 500;
        font-size: 22px;
        color: #2c3e50;
        margin: 0;
    }

/* Form Group Styling */
.professional-form .form-group {
    margin-bottom: 28px;
    position: relative;
}

/* Label Styling */
.professional-form .control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Input Field Styling */
.professional-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-size: 15px;
    color: #2d3748;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    line-height: 1.5;
}

    .professional-form .form-control:focus {
        border-color: #4299e1;
        background-color: #ffffff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    }

/* Validation Messages */
.professional-form .text-danger {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 400;
}

/* Submit Button */
.professional-form .btn-primary {
    background-color: #4299e1;
    color: white;
    padding: 13px 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background-color 0.25s ease;
    text-transform: none;
}

    .professional-form .btn-primary:hover {
        background-color: #3182ce;
    }

    .professional-form .btn-primary:active {
        background-color: #2b6cb0;
    }

    /* Optional: Add focus state for accessibility */
    .professional-form .btn-primary:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.3);
    }

/* Form Footer (for additional actions) */
.professional-form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-links a {
    display: inline-block;
    padding: 6px 6px;
    margin: 0 4px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-edit {
    color: #1a73e8;
    background-color: #e8f0fe;
    border: 1px solid #d2e3fc;
}

    .btn-edit:hover {
        background-color: #d2e3fc;
        color: #0d5bba;
    }

.btn-details {
    color: #34a853;
    background-color: #e6f4ea;
    border: 1px solid #ceead6;
}

    .btn-details:hover {
        background-color: #ceead6;
        color: #1e8e3e;
    }

.btn-delete {
    color: #d93025;
    background-color: #fce8e6;
    border: 1px solid #f5c0b8;
}

    .btn-delete:hover {
        background-color: #f5c0b8;
        color: #b31412;
    }

/* For RTL (right-to-left) languages */
.action-links a + a {
    margin-right: 8px;
    margin-left: 0;
}

.btn-create-outline {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

    .btn-create-outline:hover {
        background-color: #4CAF50;
        color: white;
    }

    .btn-create-outline i {
        margin-left: 8px;
        font-size: 16px;
    }

/* RTL specific styling */
[dir="rtl"] .btn-create-outline i {
    margin-left: 0;
    margin-right: 8px;
}


.company-info-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.company-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

    .company-info-header h4 {
        color: #2c3e50;
        font-weight: 600;
        margin: 0;
    }

.action-buttons .btn {
    margin-left: 10px;
}

.info-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

    .info-section h5 {
        color: #3498db;
        font-weight: 500;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e0e0e0;
    }

.info-item {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
}

    .info-item label {
        font-weight: 500;
        color: #555;
        width: 180px;
        margin-right: 15px;
    }

    .info-item span {
        flex: 1;
        color: #333;
    }

.company-logo {
    max-width: 150px;
    max-height: 80px;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}

.status-section {
    background-color: #f0f7ff;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

    .status-badge.active {
        background-color: #d4edda;
        color: #155724;
    }

    .status-badge.inactive {
        background-color: #f8d7da;
        color: #721c24;
    }

@@media (max-width: 768px) {
    .company-info-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        margin-top: 15px;
        width: 100%;
    }

        .action-buttons .btn {
            width: 100%;
            margin: 5px 0;
        }

    .info-item label {
        width: 100%;
        margin-bottom: 5px;
    }
}
.delete-confirmation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.delete-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.delete-title {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 20px;
}

.delete-warning {
    padding: 15px;
    border-right: 4px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
    display: flex;
    align-items: center;
}

    .delete-warning i {
        margin-right: 10px;
        font-size: 1.2rem;
    }

.company-details-card {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

    .card-header h4 {
        margin: 0;
        color: #495057;
        font-weight: 500;
    }

.card-body {
    padding: 25px;
}

.detail-group {
    margin-bottom: 15px;
}

    .detail-group label {
        font-weight: 500;
        color: #6c757d;
        display: block;
        margin-bottom: 5px;
    }

.detail-value {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-right: 3px solid #6c757d;
}

.logo-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

    .logo-preview label {
        font-weight: 500;
        color: #6c757d;
        display: block;
        margin-bottom: 10px;
    }

.company-logo {
    max-width: 200px;
    max-height: 100px;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}

.delete-actions {
    text-align: center;
    margin: 30px 0;
}

.delete-form {
    display: inline-block;
}

.delete-button {
    padding: 10px 25px;
    margin-right: 15px;
    min-width: 180px;
}

.cancel-button {
    padding: 10px 25px;
    min-width: 180px;
}

.additional-warning {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 20px;
}

    .additional-warning i {
        margin-right: 5px;
    }

.status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

    .status-badge.active {
        background-color: #d4edda;
        color: #155724;
    }

    .status-badge.inactive {
        background-color: #f8d7da;
        color: #721c24;
    }

@@media (max-width: 768px) {
    .delete-button, .cancel-button {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .delete-button {
        margin-right: 0;
    }
}

/* search style */
.search-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

    .search-container .form-group {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .search-container label {
        margin-left: 10px;
        font-weight: bold;
    }

    .search-container input[type="text"],
    .search-container select {
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .search-container select {
        width: 250px;
    }

    .search-container .btn {
        padding: 8px 15px;
        margin-right: 5px;
    }