﻿/* Tổng thể trang Profile */
.container {
    max-width: 900px;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Khu vực ảnh đại diện (Avatar) */
.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

    .profile-avatar-container img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        border: 4px solid #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .profile-avatar-container:hover img {
        transform: scale(1.05);
    }

/* Nút đổi ảnh nhỏ xinh */
.btn-change-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    .btn-change-avatar:hover {
        background: #0b5ed7;
    }

/* Tùy chỉnh các ô Input */
.form-label {
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    }

    .form-control[readonly] {
        background-color: #f8f9fa;
        color: #6c757d;
        cursor: not-allowed;
    }

/* Nút lưu thông tin */
.btn-save-profile {
    background: linear-gradient(45deg, #0d6efd, #004fb1);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .btn-save-profile:hover {
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
        transform: translateY(-2px);
    }

/* Hiệu ứng cho các icon Fa */
.card-header i {
    margin-right: 10px;
}
