/* Frontend Page Styles */
.architect-frontend-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.architect-alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    border: 1px solid transparent;
}

.architect-alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.architect-alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.architect-info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.architect-info-box h3 {
    margin: 0 0 10px 0;
    color: #495057;
}

.available-amount {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

/* Form Styles */
.architect-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-help {
    font-size: 14px;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.form-submit {
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Table Styles */
.architect-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.architect-table th,
.architect-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.architect-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.architect-table tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Stats */
.architect-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 16px;
}

.stat-card .amount {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

/* Recent Requests */
.recent-requests {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.recent-requests h3 {
    color: #495057;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .architect-frontend-page {
        padding: 15px;
    }
    
    .architect-table {
        font-size: 14px;
    }
    
    .architect-table th,
    .architect-table td {
        padding: 8px 10px;
    }
    
    .architect-form {
        padding: 20px;
    }
    
    .architect-stats {
        grid-template-columns: 1fr;
    }
}
/* Bank Details Styles */
.bank-details-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item strong {
    color: #495057;
    min-width: 120px;
}

.bank-details-status {
    margin: 15px 0;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

/* Form enhancements */
input[pattern]:invalid {
    border-color: #dc3232;
}

input[pattern]:valid {
    border-color: #46b450;
}

.bank-details-preview {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}