/* ----- Global ----- */
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* ----- Header ----- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #212233;
    padding: 15px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.logo i {
    color: #f9ca24;
    font-size: 1.8rem;
}

.img_logo {
    width: 20px;
}

/* ----- Auth buttons ----- */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn.primary {
    background-color: #ffffff;
    color: #2c3e50;
}

.btn.secondary {
    background-color: #4D078F;
    color: #fff;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ----- Form Container ----- */
.container {
    background: #4D078F;
    backdrop-filter: blur(6px);
    max-width: 70%;
    margin: 30px auto;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fffff;
}

/* ----- Inputs ----- */
.form-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus {
    outline: 2px solid #f9ca24;
}

/* ----- Event List ----- */
.events {
    max-width: 900px;
    margin: 40px auto;
    padding: 10px;
}

.events h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #6ab04c;
}

.event-list {
    display: grid;
    gap: 20px;
}

.event-item {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.event-item:hover {
    transform: scale(1.02);
}

.event-item img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.event-details {
    padding: 15px;
    flex: 1;
}

.event-details h3 {
    color: #f9ca24;
    margin-top: 0;
}

.event-details p {
    margin: 6px 0;
}

.event-date {
    color: #95afc0;
}

/* ----- Responsive ----- */
@media (max-width: 700px) {
    .event-item {
        flex-direction: column;
        align-items: center;
    }

    .event-item img {
        width: 100%;
        height: 200px;
    }

    .header {
        flex-direction: column;
        gap: 10px;
    }

    .auth-buttons {
        justify-content: center;
    }
}
