:root {
    --bg-color: #F4F4F4;
    --card-bg: #FFFFFF;
    --primary-red: #D32F2F;
    --dark-red: #8B0000;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --green-border: #4CAF50;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-family);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    color: var(--text-dark);
}

.card-container {
    background-color: var(--card-bg);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 30px 20px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: -40px;
    margin-top: -20px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.title {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

.card-body {
    padding: 30px 25px;
    background-color: var(--white);
}

.info-block {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.info-block:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(211, 47, 47, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.info-block:hover .icon-wrapper {
    background-color: rgba(211, 47, 47, 0.2);
}

.icon-wrapper i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.info-content p,
.info-content a {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-red);
}

.card-footer-container {
    padding: 0 25px 25px;
    background-color: var(--white);
}

.card-footer {
    padding: 20px;
    border: none;
    border-radius: 8px;
    text-align: center;
    background-color: var(--white);
}

.save-btn {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-family);
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
    background-color: #E53935;
}

.save-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(211, 47, 47, 0.3);
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
    }

    .card-container {
        border-radius: 0;
        min-height: 100vh;
        max-width: 100%;
    }

    .card-footer-container {
        margin-top: auto;
    }
}