        body, html {
            height: 100%;
            margin: 0;
            font-family: 'Roboto', Arial, sans-serif;
            background-color: #f8f9fa;
        }

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 20px;
            width: 100%;
            max-width: 570px;
            padding: 15px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .profile-header {
            display: flex;
            align-items: center;
            width: 100%;
            margin-bottom: 20px;
        }

        .avatar-upload {
            position: relative;
            text-align: center;
            margin-right: 15px;
        }

        .avatar-upload input[type="file"] {
            display: none;
        }

        .avatar-upload img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            cursor: pointer;
            border: 3px solid #1da1f2;
        }

        .profile-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;
        }

        .profile-info input {
            margin-bottom: 10px;
            width: 100%;
        }

        .badge-selection {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .badge-selection .btn {
            margin-right: 10px;
        }
        
        .badge-selection img {
            width: 18px;
            height: 18px;
            vertical-align: middle;
            margin-right: 5px;
        }

        .form-control.textarea-large {
            height: auto;
            min-height: 150px;
            width: 100%;
        }
        
        .form-control.background-img {
            margin-top: 10px !important;
        }

        .background {
            width: 100%;
            max-width: 540px;
            height: auto;
            background: url('background.jpg') no-repeat center center;
            background-size: cover;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            border: none;
            margin-bottom: 15px;
            aspect-ratio: 540 / 675;
        }

        .text-box {
            background-color: #000000;
            color: white;
            padding: 20px;
            border-radius: 20px;
            position: absolute;
            width: 78%;
            height: auto;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 16px;
            line-height: 1.4;
            word-wrap: break-word;
            box-sizing: border-box;
            overflow: hidden;
            text-align: left;
            white-space: nowrap;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
            display: inline-block;
            vertical-align: middle;
        }

        .name {
            font-weight: bold;
            display: inline-block;
            vertical-align: middle;
            white-space: nowrap;
            margin-top: -15px;
        }

        .username {
            color: #777;
            font-size: 15px;
            font-family: "Signika", sans-serif;
            display: inline-block;
            vertical-align: middle;
            white-space: nowrap;
            margin-top: -18px;
        }

        .verifiedIcon {
            width: 18px;
            height: 18px;
            vertical-align: middle;
            margin-top: -20px;
        }

        .text-content {
            margin-top: 15px;
            display: block;
            white-space: pre-line;
            word-wrap: break-word;
            padding-left: 30px;
        }

        .arabic-text {
            line-height: 2;
        }

        /* Responsive adjustments */
        @media (max-width: 767px) {
            .text-box {
                width: 90%;
            }

            .avatar-upload img {
                width: 80px;
                height: 80px;
            }

            .avatar {
                width: 35px;
                height: 35px;
            }
        }

        .mb-3 {
            margin-bottom: 20px !important;
        }