:root {
    --primary-color: #D2691E; /* chocolate */
    --secondary-color: #333;
    --accent-color: #E67E22;
    --light-color: #f9f9f9;
    --dark-color: #222;
    --success-color: #28a745;
    --error-color: #dc3545;
}

/* Invitation Card */
        .invitation-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
            padding: 20px;
        }

        .invitation-card {
            width: 100%;
            max-width: 500px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            animation: fadeIn 0.5s ease;
        }

        .invitation-header {
            background-color: var(--primary-color);
            color: white;
            padding: 25px;
            text-align: center;
        }

        .invitation-logo {
            width: 70px;
            height: 70px;
            margin: 0 auto 15px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .invitation-header h1 {
            font-size: 24px;
            margin-bottom: 8px;
        }

        .invitation-header p {
            opacity: 0.9;
            font-size: 15px;
        }

        .invitation-content {
            padding: 25px;
        }

        .invitation-message {
            background-color: rgba(210, 105, 30, 0.1);
            border-left: 4px solid var(--primary-color);
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 0 6px 6px 0;
        }

        .invitation-message p {
            margin: 0;
            font-weight: 500;
        }

        .invitation-details {
            margin-bottom: 25px;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .detail-item:last-child {
            border-bottom: none;
        }

        .detail-label {
            font-weight: 500;
        }

        .detail-value {
            color: var(--secondary-color);
        }

        .highlight {
            color: var(--primary-color);
            font-weight: 600;
        }

        .invitation-description {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 25px;
            font-size: 14px;
            line-height: 1.5;
        }

        .invitation-description h3 {
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .invitation-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .btn {
            flex: 1;
            padding: 14px;
            border: none;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            font-size: 15px;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: white;
            color: var(--secondary-color);
            border: 1px solid #ddd;
        }

        .btn-secondary:hover {
            background-color: #f9f9f9;
            transform: translateY(-2px);
        }

        .invitation-footer {
            text-align: center;
            padding: 20px;
            border-top: 1px solid #eee;
            color: #666;
            font-size: 14px;
        }

        .invitation-footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

        .invitation-footer a:hover {
            text-decoration: underline;
        }

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

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .invitation-actions {
                flex-direction: column;
            }
            
            .invitation-header, .invitation-content {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .invitation-card {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }





























        

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--primary-color);
    padding: 15px 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
    text-align: center;
}

footer {
    background-color: var(--primary-color);
    padding: 15px 0;
    border-radius: 20px 20px 0 0;
    color: white;
    text-align: center;
    margin-top: 30px;
}

h2 {
    text-align: center;
    margin: 20px 0;
    color: var(--dark-color);
}

/* Navigation */
nav {
    background-color: var(--secondary-color);
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li {
    margin: 5px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Forms */
.form_container {
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--accent-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--secondary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Messages */
#message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: var(--error-color);
}

/* Account page */
.account-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .form_container {
        padding: 15px;
    }
    
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header, footer {
        border-radius: 0;
    }
    
    .form_container {
        margin: 15px auto;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* Transactions Page */
.transaction-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.transaction-history {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.account-selection {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.account-selection legend {
    padding: 0 10px;
    font-weight: bold;
    color: var(--dark-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(210, 105, 30, 0.1);
}

.radio-option label:hover {
    background-color: #f9f9f9;
}

.account-type {
    font-weight: 500;
}

.account-balance {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--accent-color);
}

.btn-icon {
    font-size: 18px;
}

/* Table styling */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    margin: 20px 0;
}

th {
    text-align: left;
    white-space: nowrap;
}

td, th {
    padding: 12px 15px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f1f1f1;
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .transaction-container {
        padding: 10px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-option label {
        padding: 10px;
        flex-direction: column;
        gap: 5px;
    }
    
    table {
        font-size: 14px;
    }
    
    td, th {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/*Ajouté pour le home page*/

/* Homepage Styles */
.hero-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(210,105,30,0.1) 0%, rgba(255,255,255,1) 100%);
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-image {
    max-width: 300px;
}

.logo-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-text {
    font-size: 1.2rem;
    margin: 20px 0;
    color: var(--dark-color);
}

.illustration {
    width: 100%;
    height: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button.primary:hover {
    background-color: var(--accent-color);
}

.cta-button.secondary:hover {
    background-color: #f9f9f9;
}

.cta-button.large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.features-section {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.features-section h2 {
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(210,105,30,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.value-proposition {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.value-content {
    max-width: 600px;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
}

.testimonials-section {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: left;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 80px;
    color: rgba(210,105,30,0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
}

.author-title {
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
}

.ready-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(210,105,30,0.1) 0%, rgba(255,255,255,1) 100%);
}

.ready-section p {
    max-width: 600px;
    margin: 20px auto 40px;
    font-size: 1.1rem;
}

.center {
    justify-content: center;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .cta-buttons {
        justify-content: flex-start;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .value-proposition {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-section, 
    .features-section,
    .value-proposition,
    .testimonials-section,
    .ready-section {
        padding: 100px 40px;
    }
}

/*N ap Ajoute sa pou login**/
/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f5f5f5;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    height: 60px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 15px;
}

.auth-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.auth-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.auth-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.auth-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

.password-input {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--dark-color);
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
}

.forgot-password a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.remember-me input {
    width: auto;
    margin-right: 8px;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.auth-button svg {
    transition: transform 0.3s ease;
}

.auth-button:hover svg {
    transform: translateX(3px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

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

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

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 22px;
    }
}

/*Nou ajoute sa pou register*/

/* Account Type Cards */
.account-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0;
}

.account-type-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.account-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.account-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background-color: rgba(210,105,30,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.account-type-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.account-type-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Select Dropdown */
select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    appearance: none;
    background-color: white;
    cursor: pointer;
}

select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

/* Terms Checkbox */
.form-terms {
    margin: 20px 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.terms-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.password-hint {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
    text-align: right;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .account-types {
        grid-template-columns: repeat(2, 1fr);
    }
}


/**N ap ajoute sa pou register_entreprise.php*/


/* Business Registration */
.business-card {
    max-width: 500px;
}

.business-benefits {
    background-color: rgba(210, 105, 30, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.business-benefits h3 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.business-benefits ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.business-benefits li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.business-benefits .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 10px;
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .business-benefits {
        padding: 12px;
    }
    
    .auth-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}






/****mob accordillon*/

/* Mobile Navigation Accordion */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        width: 100%;
        text-align: center;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        margin: 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }
}