/* Member Area Styles (Auth & Dashboard) */

/* --- Styles from resources/views/member/auth/login.blade.php --- */
    .auth-section {
        min-height: calc(100vh - 200px);
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        display: flex;
        align-items: center;
    }

    .auth-card {
        background: white;
        border-radius: var(--radius);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .auth-title {
        color: #333;
        font-weight: 700;
        font-size: 1.75rem;
    }

    .auth-form .form-label {
        color: #333;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .auth-form .form-control {
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        padding: 0.75rem;
        transition: all 0.3s ease;
    }

    .auth-form .form-control:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .password-input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-input-group .form-control {
        padding-right: 2.5rem;
    }

    .btn-toggle-password {
        position: absolute;
        right: 10px;
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        transition: color 0.2s;
    }

    .btn-toggle-password:hover {
        color: #333;
    }

    .btn-primary {
        background-color: #dc3545;
        border-color: #dc3545;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    }

    .divider {
        position: relative;
        text-align: center;
        color: #999;
    }

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        background: white;
        position: relative;
        padding: 0 1rem;
    }

    .auth-links a {
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .auth-links a:hover {
        text-decoration: underline;
    }

    .form-check-label {
        user-select: none;
        margin-bottom: 0;
    }

    .auth-info {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: var(--radius-sm);
        border-left: 3px solid #dc3545;
    }

    @media (max-width: 576px) {
        .auth-card {
            padding: 1.5rem;
        }

        .auth-title {
            font-size: 1.5rem;
        }

        .auth-section {
            padding: 2rem 1rem;
        }
    }

/* --- Styles from resources/views/member/auth/register.blade.php --- */
    .auth-section {
        min-height: auto;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        padding: 3rem 0;
    }

    .auth-card {
        background: white;
        border-radius: var(--radius);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .auth-title {
        color: #333;
        font-weight: 700;
        font-size: 1.75rem;
    }

    .section-title {
        color: #333;
        font-weight: 600;
        border-bottom: 2px solid #dc3545;
        padding-bottom: 0.5rem;
    }

    .membership-type-selector {
        display: flex;
        gap: 2rem;
        margin-top: 0.5rem;
    }

    .membership-type-selector .form-check {
        flex: 1;
    }

    .membership-type-selector .form-check-input {
        width: 1.25em;
        height: 1.25em;
        margin-top: 0.3em;
    }

    .membership-type-selector .form-check-label {
        margin-left: 0.5rem;
        font-weight: 500;
    }

    .auth-form .form-label {
        color: #333;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .auth-form .form-control,
    .auth-form textarea {
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        padding: 0.75rem;
        transition: all 0.3s ease;
    }

    .auth-form .form-control:focus,
    .auth-form textarea:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .password-input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-input-group .form-control {
        padding-right: 2.5rem;
    }

    .btn-toggle-password {
        position: absolute;
        right: 10px;
        background: none;
        border: none;
        color: #999;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        transition: color 0.2s;
    }

    .btn-toggle-password:hover {
        color: #333;
    }

    .btn-primary {
        background-color: #dc3545;
        border-color: #dc3545;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    }

    .divider {
        position: relative;
        text-align: center;
        color: #999;
    }

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        background: white;
        position: relative;
        padding: 0 1rem;
    }

    .auth-links a {
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .auth-links a:hover {
        text-decoration: underline;
    }

    .form-check-label {
        user-select: none;
        margin-bottom: 0;
    }

    .form-check-input {
        cursor: pointer;
    }

    .text-danger {
        color: #dc3545;
    }

    @media (max-width: 576px) {
        .auth-card {
            padding: 1.5rem;
        }

        .auth-title {
            font-size: 1.5rem;
        }

        .membership-type-selector {
            flex-direction: column;
            gap: 1rem;
        }
    }

/* --- Styles from resources/views/member/auth/forgot-password.blade.php --- */
    .auth-section {
        min-height: calc(100vh - 200px);
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        display: flex;
        align-items: center;
    }

    .auth-card {
        background: white;
        border-radius: var(--radius);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .auth-title {
        color: #333;
        font-weight: 700;
        font-size: 1.75rem;
    }

    .auth-form .form-label {
        color: #333;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .auth-form .form-control {
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        padding: 0.75rem;
        transition: all 0.3s ease;
    }

    .auth-form .form-control:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .btn-primary {
        background-color: #dc3545;
        border-color: #dc3545;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    }

    .divider {
        position: relative;
        text-align: center;
        color: #999;
    }

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        background: white;
        position: relative;
        padding: 0 1rem;
    }

    .auth-links a {
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .auth-links a:hover {
        text-decoration: underline;
    }

    .auth-info {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: var(--radius-sm);
        border-left: 3px solid #dc3545;
    }

    @media (max-width: 576px) {
        .auth-card {
            padding: 1.5rem;
        }

        .auth-title {
            font-size: 1.5rem;
        }

        .auth-section {
            padding: 2rem 1rem;
        }
    }

/* --- Styles from resources/views/member/dashboard/index.blade.php --- */
    .dashboard-section {
        background-color: #f8f9fa;
        min-height: calc(100vh - 200px);
    }

    .dashboard-sidebar {
        position: sticky;
        top: 20px;
    }

    .profile-card {
        background: white;
        border-radius: var(--radius);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .profile-avatar {
        font-size: 3rem;
        color: #dc3545;
        margin-bottom: 1rem;
    }

    .profile-name {
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .profile-email {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .profile-id {
        margin-bottom: 0;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-nav .nav-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .sidebar-nav .nav-item:hover {
        background-color: #f8f9fa;
        color: #dc3545;
        border-left-color: #dc3545;
    }

    .sidebar-nav .nav-item.active {
        background-color: #fff5f5;
        color: #dc3545;
        border-left-color: #dc3545;
        font-weight: 600;
    }

    .page-header {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-title {
        color: #333;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        color: #666;
        margin-bottom: 0;
    }

    .stat-card {
        background: white;
        border-radius: var(--radius);
        padding: 1.5rem;
        display: flex;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

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

    .stat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: var(--radius);
        color: white;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .stat-icon.bg-primary {
        background-color: #0d6efd;
    }

    .stat-icon.bg-info {
        background-color: #0dcaf0;
    }

    .stat-icon.bg-success {
        background-color: #198754;
    }

    .stat-label {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .stat-value {
        color: #333;
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .info-section {
        background: white;
        border-radius: var(--radius);
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #f0f0f0;
    }

    .section-title {
        color: #333;
        font-weight: 700;
        margin-bottom: 0;
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }

    .info-item {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem;
        background-color: #f8f9fa;
        border-radius: var(--radius-sm);
    }

    .info-label {
        font-weight: 600;
        color: #333;
    }

    .info-value {
        color: #666;
    }

    .section-actions {
        display: flex;
        gap: 0.5rem;
    }

    .donations-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .donation-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background-color: #f8f9fa;
        border-radius: var(--radius-sm);
        border-left: 3px solid #dc3545;
    }

    .donation-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background-color: white;
        border-radius: var(--radius);
        color: #dc3545;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .donation-details {
        flex: 1;
    }

    .donation-title {
        color: #333;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .donation-date {
        color: #999;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .donation-amount {
        text-align: right;
    }

    .donation-amount .amount {
        color: #dc3545;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .donation-amount .status {
        margin-bottom: 0;
    }

    @media (max-width: 991px) {
        .dashboard-sidebar {
            position: static;
        }
    }

    @media (max-width: 576px) {
        .page-header {
            padding: 1rem;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .donation-item {
            flex-wrap: wrap;
        }

        .donation-amount {
            width: 100%;
            text-align: left;
            margin-top: 0.5rem;
        }
    }

/* --- Styles from resources/views/member/dashboard/profile.blade.php --- */
    .dashboard-section {
        background-color: #f8f9fa;
        min-height: calc(100vh - 200px);
    }

    .dashboard-sidebar {
        position: sticky;
        top: 20px;
    }

    .profile-card {
        background: white;
        border-radius: var(--radius);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .profile-avatar {
        font-size: 3rem;
        color: #dc3545;
        margin-bottom: 1rem;
    }

    .profile-name {
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .profile-email {
        color: #666;
        font-size: 0.9rem;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-nav .nav-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .sidebar-nav .nav-item:hover {
        background-color: #f8f9fa;
        color: #dc3545;
        border-left-color: #dc3545;
    }

    .sidebar-nav .nav-item.active {
        background-color: #fff5f5;
        color: #dc3545;
        border-left-color: #dc3545;
        font-weight: 600;
    }

    .page-header {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-title {
        color: #333;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        color: #666;
        margin-bottom: 0;
    }

    .form-section {
        background: white;
        border-radius: var(--radius);
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .form-group-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .form-group-section:last-child {
        border-bottom: none;
    }

    .section-title {
        color: #333;
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .form-label {
        color: #333;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .form-control,
    .form-select {
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        padding: 0.75rem;
        transition: all 0.3s ease;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .form-check {
        padding-left: 1.5rem;
    }

    .form-check-input {
        width: 1.25em;
        height: 1.25em;
        margin-left: -1.5rem;
        cursor: pointer;
    }

    .form-check-label {
        cursor: pointer;
        margin-bottom: 0;
    }

    .form-actions {
        display: flex;
        gap: 1rem;
    }

    .btn {
        border-radius: var(--radius-sm);
        font-weight: 600;
        transition: all 0.3s ease;
    }

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

    .btn-primary:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    }

    .btn-outline-secondary {
        color: #666;
        border-color: #ddd;
    }

    .btn-outline-secondary:hover {
        background-color: #f8f9fa;
        border-color: #666;
        color: #333;
    }

    @media (max-width: 991px) {
        .dashboard-sidebar {
            position: static;
        }
    }

    @media (max-width: 576px) {
        .form-section,
        .page-header {
            padding: 1rem;
        }

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

        .btn {
            width: 100%;
        }
    }

/* --- Styles from resources/views/member/dashboard/donations.blade.php --- */
    .dashboard-section {
        background-color: #f8f9fa;
        min-height: calc(100vh - 200px);
    }

    .dashboard-sidebar {
        position: sticky;
        top: 20px;
    }

    .profile-card {
        background: white;
        border-radius: var(--radius);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .profile-avatar {
        font-size: 3rem;
        color: #dc3545;
        margin-bottom: 1rem;
    }

    .profile-name {
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .profile-email {
        color: #666;
        font-size: 0.9rem;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-nav .nav-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .sidebar-nav .nav-item:hover {
        background-color: #f8f9fa;
        color: #dc3545;
        border-left-color: #dc3545;
    }

    .sidebar-nav .nav-item.active {
        background-color: #fff5f5;
        color: #dc3545;
        border-left-color: #dc3545;
        font-weight: 600;
    }

    .page-header {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-title {
        color: #333;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        color: #666;
        margin-bottom: 0;
    }

    .stat-card {
        background: white;
        border-radius: var(--radius);
        padding: 1.5rem;
        display: flex;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

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

    .stat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background-color: #fff5f5;
        border-radius: var(--radius);
        color: #dc3545;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .stat-label {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .stat-value {
        color: #333;
        font-weight: 700;
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .table-section {
        background: white;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .donations-table {
        width: 100%;
        border-collapse: collapse;
    }

    .donations-table thead {
        background-color: #f8f9fa;
    }

    .donations-table th {
        padding: 1rem;
        text-align: left;
        color: #333;
        font-weight: 600;
        border-bottom: 2px solid #e0e0e0;
    }

    .donations-table td {
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
        color: #666;
    }

    .donations-table tbody tr {
        transition: all 0.3s ease;
    }

    .donations-table tbody tr:hover {
        background-color: #f8f9fa;
    }

    .donations-table td.amount {
        color: #dc3545;
        font-weight: 600;
    }

    .action-buttons {
        display: flex;
        gap: 0.5rem;
    }

    .btn-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        background-color: #f0f0f0;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-action:hover {
        background-color: #dc3545;
        color: white;
    }

    .empty-state {
        text-align: center;
        padding: 3rem 2rem;
    }

    .empty-icon {
        font-size: 3rem;
        color: #ddd;
        margin-bottom: 1rem;
    }

    .empty-state h5 {
        color: #333;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .empty-state p {
        color: #666;
        margin-bottom: 1.5rem;
    }

    .btn-primary {
        background-color: #dc3545;
        border-color: #dc3545;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-sm);
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    }

    .pagination-wrapper {
        display: flex;
        justify-content: center;
    }

    @media (max-width: 991px) {
        .dashboard-sidebar {
            position: static;
        }
    }

    @media (max-width: 768px) {
        .donations-table {
            font-size: 0.9rem;
        }

        .donations-table th,
        .donations-table td {
            padding: 0.75rem;
        }

        .table-responsive {
            overflow-x: auto;
        }
    }
