/* CSS FILE - style.css */
body {
    background-color: yellow;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* WRAPPER STYLES - Kuweka contents katikati */
.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: yellow;
    /* Rangi ya yellow kama background */
}

.content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    width: 100%;
}

.centered-content {
    width: 100%;
    max-width: 1200px;
    /* Upeo wa upana wa content */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header styles sasa iwe ndani ya wrapper */
.header {
    background-color: #ffcc00;
    padding: 20px;
    text-align: center;
    color: #333;
    border-bottom: 3px solid #e6b800;
    width: 100%;
}

/* Content styles sasa iwe ndani ya wrapper */
.content {
    max-width: 800px;
    margin: 40px auto;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    /* Kubadilika kulingana na skrini */
}

/* FOOTER BUTTON BAR STYLES - Iwe chini kabisa */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #ffcc00;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.footer-btn:hover {
    background: #fff9e6;
    color: #333;
    transform: translateY(-2px);
}

.footer-btn.active {
    color: #ff6b00;
    background: #fff0e0;
}

.footer-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.footer-label {
    font-size: 12px;
    font-weight: bold;
}

/* Grid system kwa contents nyingine */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.feature-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffcc00;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 10px;
    }

    .content {
        padding: 20px;
        margin: 20px auto;
        width: 95%;
    }

    .centered-content {
        max-width: 100%;
    }
}

/* Additional styles for other elements */
h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    color: #444;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
    text-align: center;
}

p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.btn {
    position: absolute;
    top: 10px;
    left: 10px;

    display: inline-block;
    padding: 12px 24px;

    background: #007bff;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;

    font-size: 16px;
    font-weight: 500;
    font-family: inherit;

    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}


.nav-links {
    text-align: center;
    margin-top: 30px;
}




/* EXPANDABLE LIST STYLES */
.expandable-list {
    width: 100%;
    margin: 20px 0;
}

.list-item {
    background: white;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.list-header {
    padding: 15px 20px;
    background: #fff9e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.list-header:hover {
    background: #fff0cc;
}

.list-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.arrow.open {
    transform: rotate(180deg);
}

.list-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.list-content.open {
    padding: 20px;
    max-height: 1000px;
}

/* FORM STYLES */
.wallet-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ffcc00;
    outline: none;
}

.submit-btn {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #e65c00;
}

/* SAVED INFO STYLES */
.saved-info {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: bold;
    color: #333;
}

.info-value {
    color: #666;
}

.edit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.edit-btn:hover {
    background: #0056b3;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}


/* MESSAGES STYLES */
.messages {
    margin: 15px 0;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin: 10px 0;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}