/* Main stylesheet for PubliBike Service Portal */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #522142 0%, #6b2b56 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Header styles */
.header {
    margin-bottom: 40px;
}

.app-icon {
    margin-bottom: 20px;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 0px;
    box-shadow: 0 8px 16px rgba(82, 33, 66, 0.2);
}

.title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Service grid */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.service-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    min-height: 120px;
}

.service-button:hover {
    background: #522142;
    color: white;
    border-color: #522142;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 33, 66, 0.2);
}

.service-button:hover .service-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.service-icon svg,
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(17%) sepia(15%) saturate(1719%) hue-rotate(283deg) brightness(92%) contrast(91%);
    transition: all 0.3s ease;
}

.service-label {
    font-size: 16px;
    font-weight: 500;
}

/* Footer styles */
.footer {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.language-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.lang-link {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.lang-link:hover {
    background: #f8f9fa;
    color: #522142;
}

.lang-link.active {
    background: #522142;
    color: white;
}

/* Responsive design */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding: 20px;
    }

    .container {
        padding: 20px;
        margin: 0;
    }

    .title {
        font-size: 24px;
    }

    .service-grid {
        gap: 15px;
    }

    .service-button {
        padding: 25px 15px;
        min-height: 100px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .service-label {
        font-size: 14px;
    }

    .app-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin: 0 auto 40px;
    }

    .service-button {
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
        min-height: auto;
    }

    .service-icon {
        margin-bottom: 0;
        margin-right: 15px;
    }
}