/* File: assets/css/style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    color: #2c7a2c; /* Classic Fund Raiser Green */
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px; /* Prevents zoom on mobile */
}

input[type="file"] {
    padding: 10px;
    background: #f9f9f9;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #2c7a2c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: #236323;
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.link-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.link-text a {
    color: #2c7a2c;
    text-decoration: none;
    font-weight: bold;
}

/* Welcome Text */
.welcome-text {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Dashboard Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.dash-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2c7a2c;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

/* Payment Instruction Box */
.pay-box {
    background: #e8f5e9;
    border: 2px dashed #2c7a2c;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.pay-box h3 {
    color: #2c7a2c;
    margin-bottom: 10px;
}

.pay-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 10px 0;
    letter-spacing: 1px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-top: 3px solid #2c7a2c;
}

.stat-card h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 20px;
    font-weight: bold;
    color: #2c7a2c;
}

/* Members List */
.members-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.member-card {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #2c7a2c;
}

.member-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.member-info {
    flex-grow: 1;
}

.member-info strong {
    display: block;
    color: #333;
}

.member-info small {
    color: #666;
}

.member-amount {
    font-weight: bold;
    color: #2c7a2c;
}

/* --- ADMIN SPECIFIC STYLES --- */
.pending-card {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pending-card img.proof-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.btn-approve {
    background-color: #28a745 !important;
    width: auto !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    flex: 1;
}

.btn-reject {
    background-color: #dc3545 !important;
    width: auto !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    flex: 1;
}