/* PayPoint Modern UI Enhancements */

/* Global Styles */
body {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* Modern Button Styling */
.btn {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover:after {
    width: 200%;
    height: 200%;
}

.btn-primary {
    background-color: #002366;
    border-color: #002366;
}

.btn-primary:hover {
    background-color: #001a4d;
    border-color: #001a4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 35, 102, 0.2);
}

.btn-secondary {
    background-color: #ED1B24;
    border-color: #ED1B24;
}

.btn-secondary:hover {
    background-color: #d01820;
    border-color: #d01820;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(237, 27, 36, 0.2);
}

.btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Card Enhancements */
.card {
    border-radius: 10px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: 500;
    padding: 1rem 1.25rem;
    background-color: #002366;
    color: white;
    border-bottom: none;
}

.card-body {
    padding: 1.5rem;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #002366;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.85rem;
}

.text-muted {
    color: #6c757d !important;
}

/* Form Control Enhancements */
.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.6rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #002366;
    box-shadow: 0 0 0 0.2rem rgba(0, 35, 102, 0.15);
}

/* Table Enhancements */
.table {
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: #002366;
    color: white;
    font-weight: 500;
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.table tbody tr:hover {
    background-color: rgba(0, 35, 102, 0.03);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 35, 102, 0.02);
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 4px;
}

/* Breadcrumb Enhancements */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Alert Enhancements */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-in-out;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Custom PayPoint Component Styles */
.dashboard-card {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 35, 102, 0.1);
    border: none;
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 35, 102, 0.15);
}

.dashboard-card .card-header {
    background-color: #002366;
    color: white;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.dashboard-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    transform: skewX(-15deg);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.footer-divider {
    height: 4px;
    width: 100px;
    margin: 0 auto;
    background: linear-gradient(90deg, #002366, #ED1B24);
    border-radius: 2px;
}
