ihm_client/public/style/account.css
2025-03-12 10:56:26 +01:00

1426 lines
25 KiB
CSS
Executable File

/* Styles de base */
:root {
--primary-color: #3A506B;
/* Bleu métallique */
--secondary-color: #B0BEC5;
/* Gris acier */
--accent-color: #D68C45;
/* Cuivre */
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
height: 100vh;
background-color: #e9edf1;
flex-direction: column;
}
/*-------------------------------------- Avatar--------------------------------------*/
.avatar-section {
position: relative;
height: 60px;
width: 260px;
margin-left: 10px;
overflow: hidden;
border-radius: 10px;
}
.user-info {
display: flex;
flex-direction: column;
color: white;
}
.user-name, .user-lastname {
font-size: 0.9rem;
font-weight: 700;
}
.user-name:hover, .user-lastname:hover {
color: var(--accent-color);
cursor: pointer;
}
.avatar-container {
width: 45px;
height: 45px;
flex-shrink: 0;
}
.avatar-container {
width: 80px; /* Taille réduite */
height: 80px;
margin: 0 auto;
}
.avatar {
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 2px solid white;
}
.avatar img {
width: 100%;
height: 100%;
border-radius: 50%;
}
/*-------------------------------------- BANNER--------------------------------------*/
/* Styles pour la bannière avec image */
.banner-image-container {
position: relative;
width: 100%;
height: 200px;
overflow: hidden;
border-radius: 10px;
margin-bottom: 15px;
}
.banner-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.banner-content {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 15px;
height: 100%;
padding: 0 15px;
background: rgba(0, 0, 0, 0.3);
overflow: visible;
}
.banner-content .avatar-container {
width: 45px;
height: 45px;
overflow: hidden;
border-radius: 50%;
border: 2px solid white;
transition: transform 0.3s ease;
}
.banner-content .avatar {
width: 100%;
height: 100%;
object-fit: cover;
border: none;
}
.banner-content .avatar-container:hover {
transform: scale(1.15);
cursor: pointer;
}
/* Style pour le bouton de changement de bannière */
.banner-upload-label {
display: block;
width: auto;
padding: 12px 20px;
background-color: var(--accent-color);
color: white;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
text-align: center;
font-size: 16px;
margin: 20px auto;
max-width: 250px;
}
.banner-upload-label:hover {
background-color: #b06935;
}
.banner-controls {
margin-top: 15px;
display: flex;
justify-content: center;
width: 100%;
}
.banner-preview {
margin: 10px 0;
}
.banner-preview h3 {
margin: 0 0 10px 0;
font-size: 18px;
}
.banner-image-container {
height: 150px;
margin-bottom: 10px;
}
.nav-wrapper {
position: fixed;
background: white;
display: flex;
justify-content: space-between;
align-items: center;
height: 9vh;
width: 100vw;
left: 0;
top: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
/* Mise à jour des styles de la navbar pour inclure l'image de bannière */
.nav-wrapper .avatar-section {
position: relative;
background: none;
}
.nav-wrapper .banner-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
filter: brightness(0.7);
}
/*-------------------------------------- Popup--------------------------------------*/
/* Styles pour la popup */
.popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
}
.popup-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
width: 400px;
max-height: 80vh;
overflow-y: auto;
}
.popup-content h2 {
margin: 0 0 15px 0;
font-size: 24px;
}
.close-popup {
position: absolute;
right: 15px;
top: 10px;
font-size: 24px;
cursor: pointer;
color: #666;
}
.close-popup:hover {
color: #000;
}
.popup-avatar {
text-align: center;
margin: 20px 0;
position: relative;
}
.avatar-upload-label {
position: relative;
display: inline-block;
cursor: pointer;
width: 0%;
margin-left: -20%;
}
.avatar-overlay {
position: absolute;
top: 0;
left: 50px;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s;
}
.avatar-overlay span {
color: white;
font-size: 14px;
text-align: center;
}
.avatar-upload-label:hover .avatar-overlay {
opacity: 1;
}
.popup-avatar img {
width: 100px;
height: 100px;
border-radius: 50%;
border: 3px solid var(--accent-color);
object-fit: cover;
}
.popup-info {
margin: 15px 0;
}
.info-row {
margin: 8px 0;
display: flex;
align-items: center;
gap: 10px;
}
.popup-info strong {
min-width: 100px; /* Largeur fixe pour l'alignement */
}
/* Editable Name and Lastname */
.editable {
cursor: pointer;
display: inline-block;
min-width: 100px;
padding: 2px 5px;
transition: background-color 0.3s;
}
.editable:hover {
background-color: #f0f0f0;
}
.editable.editing {
background-color: white;
border: 1px solid var(--accent-color);
outline: none;
}
.edit-input {
border: 1px solid var(--accent-color);
border-radius: 3px;
padding: 2px 5px;
font-size: inherit;
font-family: inherit;
outline: none;
width: 100%;
min-width: 100px;
margin: 0;
box-sizing: border-box;
}
/* Boutons */
.popup-button-container {
display: flex
;
flex-direction: column;
margin-top: 20px;
gap: 15px;
}
.action-buttons-row {
display: flex
;
justify-content: space-between;
gap: 15px;
}
.banner-upload-label,
.export-btn,
.delete-account-btn {
padding: 8px 15px;
margin: 10px 0;
font-size: 14px;
}
.delete-account-btn {
background-color: #dc3545;
}
.export-btn,
.delete-account-btn {
flex: 1; /* Pour qu'ils prennent la même largeur */
padding: 12px 20px;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
color: white;
text-align: center;
}
/* Séparateurs */
.popup-info,
.export-section,
.delete-account-section {
padding-top: 10px;
margin-top: 10px;
border-top: 1px solid #eee;
}
.logout-btn {
background-color: rgb(108, 117, 125);
font-size: 16px;
cursor: pointer;
color: white;
text-align: center;
flex: 1 1 0%;
padding: 12px 20px;
border-width: initial;
border-style: none;
border-color: initial;
border-image: initial;
border-radius: 8px;
transition: background-color 0.3s;
}
/*-------------------------------------- Delete Account--------------------------------------*/
.delete-account-section {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #ddd;
text-align: center;
}
.delete-account-btn {
background-color: #dc3545;
}
.delete-account-btn:hover {
background-color: #c82333;
}
/* Style pour la modal de confirmation */
.confirm-delete-modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1100;
text-align: center;
}
.confirm-delete-buttons {
margin-top: 20px;
display: flex;
justify-content: center;
gap: 10px;
}
.confirm-delete-buttons button {
padding: 8px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.confirm-btn {
background-color: #dc3545;
color: white;
}
.cancel-btn {
background-color: #6c757d;
color: white;
}
.delete-account-section {
border-top: 1px solid #eee;
padding-top: 15px;
margin-top: 15px;
}
/*-------------------------------------- Export--------------------------------------*/
.export-section {
margin: 20px 0;
text-align: center;
padding: 15px 0;
border-top: 1px solid #ddd;
}
.export-btn {
background-color: var(--accent-color);
}
.export-btn:hover {
background-color: #b06935;
}
.export-section,
.delete-account-section {
width: 100%;
display: flex;
justify-content: center;
margin: 15px 0;
}
.export-btn,
.delete-account-btn {
width: 80%;
padding: 12px 20px;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
color: white;
text-align: center;
}
/*-------------------------------------- NAVBAR--------------------------------------*/
.brand-logo {
font-size: 1.5rem;
font-weight: bold;
}
.nav-wrapper {
position: fixed;
background: radial-gradient(circle, white, var(--primary-color));
display: flex;
justify-content: space-between;
align-items: center;
color: #37474F;
height: 9vh;
width: 100vw;
left: 0;
top: 0;
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);
}
/* Icônes de la barre de navigation */
.nav-right-icons {
margin-right: 20px;
}
.burger-menu {
height: 20px;
width: 20px;
margin-right: 1rem;
cursor: pointer;
}
/* Par défaut, le menu est masqué */
#menu {
display: none;
/* Menu caché par défaut */
transition: display 0.3s ease-in-out;
}
.burger-menu {
width: 24px;
height: 24px;
cursor: pointer;
}
.burger-menu-icon {
width: 100%;
height: 100%;
}
/* Icône burger */
#burger-icon {
cursor: pointer;
}
/* .menu-content {
display: none;
position: absolute;
top: 3.4rem;
right: 1rem;
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 5px;
overflow: hidden;
}
.menu-content a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #333;
border-bottom: 1px solid #e0e0e0;
&:hover {
background-color: rgba(26, 28, 24, .08);
}
}
.menu-content a:last-child {
border-bottom: none;
} */
/* Ajustement pour la barre de navigation fixe */
.container {
display: flex;
flex: 1;
height: 90vh;
margin-top: 9vh;
margin-left: -1%;
text-align: left;
width: 100vw;
}
/* Liste des information sur l'account */
.parameter-list {
width: 24.5%;
background-color: #1f2c3d;
color: white;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
border-right: 2px solid #2c3e50;
flex-shrink: 0;
padding-right: 10px;
height: 91vh;
}
.parameter-list ul {
padding: 15px;
margin-left: 10px;
border-radius: 8px;
background-color: #273646;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
}
.parameter-list ul:hover {
background-color: #34495e;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Zone des info des parametre */
.parameter-area {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
margin: 0px;
margin-top: 20px;
margin-left: 1%;
margin-bottom: -7px;
}
/* En-tête du parametre */
.parameter-header {
background-color: #34495e;
color: white;
padding: 15px;
font-size: 20px;
font-weight: bold;
border-radius: 10px 10px 0 0;
text-align: center;
}
/* Style du tableau dans parameter-area */
.parameter-table {
width: 100%;
border-collapse: collapse;
margin: 15px 0;
table-layout: fixed;
}
.parameter-table th, .parameter-table td {
border: 1px solid #ddd;
padding: 8px;
white-space: nowrap;
overflow: hidden;
text-align: center;
}
.parameter-table th {
background-color: var(--secondary-color);
color: white;
font-weight: bold;
}
.parameter-table tr:nth-child(even) {
background-color: #f2f2f2;
}
.parameter-table tr:hover {
background-color: #ddd;
}
/* Conteneur pour les boutons */
.button-container {
display: flex;
justify-content: center;
gap: 15px;
margin: 15px 0;
}
/* Boutons "Ajouter une ligne" et "Confirmer" */
.add-row-button, .confirm-all-button, .delete-row-button {
background-color: var(--accent-color);
color: white;
border: none;
padding: 8px 15px;
cursor: pointer;
border-radius: 5px;
font-size: 0.9em;
margin-right: 5px;
}
.add-row-button:hover, .confirm-all-button:hover, .delete-row-button:hover {
background-color: #b06935;
}
.button-style {
background-color: var(--accent-color);
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s;
}
.button-style:hover {
background-color: darkorange;
}
.content-container {
width: 100%;
}
#pairing-content,
#wallet-content {
width: 100%;
}
.editable-cell {
cursor: pointer;
}
.editable-cell:hover {
background-color: #f5f5f5;
}
.edit-input {
width: 100%;
padding: 5px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
}
/*-------------------------------------- Notification--------------------------------------*/
.notification-cell {
position: relative;
}
.notification-bell {
position: relative;
display: inline-block;
}
.notification-badge {
position: absolute;
top: -8px;
right: -8px;
background-color: red;
color: white;
border-radius: 50%;
padding: 2px 6px;
font-size: 12px;
min-width: 15px;
text-align: center;
}
.fa-bell {
color: #666;
font-size: 20px;
}
/* Media Queries pour Mobile */
@media screen and (max-width: 768px) {
/* Navbar */
.nav-wrapper {
height: 9vh;
padding: 0;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Section avatar (gauche) */
.avatar-section {
width: 200px; /* Largeur réduite */
margin-left: 10px;
order: 0; /* Garde à gauche */
}
.avatar-container {
width: 35px;
height: 35px;
}
.user-info span {
font-size: 0.8rem;
}
/* Logo (centre) */
.brand-logo {
order: 0;
flex: 0 0 auto;
padding: 0;
font-size: 1.2rem;
}
/* Menu burger (droite) */
.nav-right-icons {
order: 0;
width: auto;
padding-right: 15px;
}
.burger-menu {
width: 24px;
height: 24px;
}
/* Ajustements pour la bannière */
.banner-image-container {
height: 100%;
}
.banner-content {
padding: 0 10px;
}
/* Style des boutons dans la popup */
.button-container {
display: flex;
gap: 10px;
margin: 15px 0;
width: 100%;
}
.export-btn,
.delete-account-btn {
flex: 1;
padding: 12px 15px;
border: none;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s;
color: white;
}
.export-btn {
background-color: var(--accent-color);
}
.delete-account-btn {
background-color: var(--danger-color);
}
}
/* Media Queries pour très petits écrans */
@media screen and (max-width: 380px) {
.avatar-section {
width: 150px;
}
.user-info span {
font-size: 0.7rem;
}
}
/* Style des boutons */
.button-container {
display: flex;
gap: 15px;
margin: 15px 0;
width: 100%;
}
.export-btn,
.delete-account-btn {
flex: 1;
padding: 12px 20px;
border: none;
border-radius: 8px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 14px;
display: block;
}
.export-btn {
background-color: var(--accent-color);
}
.delete-account-btn {
background-color: rgb(219, 17, 17);
display: block;
visibility: visible;
}
.export-btn:hover {
background-color: #b06935;
}
.delete-account-btn:hover {
background-color: #b60718;
}
@media screen and (max-width: 768px) {
.button-container {
gap: 10px;
}
.export-btn,
.delete-account-btn {
padding: 12px 15px;
font-size: 14px;
}
}
/* Style pour les boutons de la popup */
.popup-buttons {
display: flex;
gap: 15px;
margin: 15px 0;
width: 100%;
}
/* Style pour les boutons d'action des tableaux */
.button-container {
display: flex;
gap: 15px;
margin: 15px 0;
width: 100%;
}
/* Style pour le header mobile */
.mobile-nav {
display: none;
width: 100%;
padding: 10px;
background-color: #34495e;
overflow-x: auto;
white-space: nowrap;
}
.mobile-nav ul {
display: flex;
gap: 10px;
margin: 0;
padding: 0;
list-style: none;
}
/* Media Query pour mobile */
@media screen and (max-width: 768px) {
.parameter-list {
display: flex;
width: 100%;
min-width: 100%;
height: auto;
overflow-x: auto;
background-color: rgb(31, 44, 61);
padding: 10px;
border-right: none;
border-bottom: 2px solid rgb(44, 62, 80);
}
.mobile-nav {
display: flex; /* Affiche la navigation mobile */
}
.parameter-header {
display: flex;
flex-direction: column;
}
.parameter-list-ul {
text-align: center;
flex: 1 1 0%;
margin: 0px 5px;
padding: 10px;
white-space: nowrap;
margin-bottom: none;
}
.parameter-list-ul:hover {
background-color: #34495e;
}
.container {
flex-direction: column;
}
.parameter-area {
margin: -5px;
}
}
/* Style pour le header et la navigation mobile */
.parameter-header {
background-color: #34495e;
padding: 20px 0;
margin: 0;
width: 100%;
}
.mobile-nav {
display: none; /* Par défaut caché */
width: 100%;
padding: 10px;
background-color: #34495e;
overflow-x: auto;
}
.mobile-nav ul {
display: flex;
gap: 10px;
margin: 0;
padding: 10px;
list-style: none;
}
.mobile-nav li {
flex: 0 0 auto;
white-space: nowrap;
}
/* Ajoutez ces styles pour la bannière dans la popup */
.banner-container {
width: 100%;
margin-bottom: 20px;
}
.banner-wrapper {
width: 100%;
height: 120px;
overflow: hidden;
position: relative;
border-radius: 10px;
}
.banner-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
}
/* Mise à jour des styles existants */
.popup-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 500px;
max-height: 80vh;
overflow-y: auto;
}
/* Style pour le conteneur de la bannière */
.banner-upload-label {
display: block;
width: auto;
padding: 12px 20px;
background-color: var(--accent-color);
color: white;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
text-align: center;
font-size: 16px;
margin: 10px auto;
max-width: 200px;
}
/* ---------------------Style pour la popup de contrat--------------------- */
.contract-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex
;
justify-content: center;
align-items: center;
z-index: 1000;
}
.contract-popup-content {
background: white;
padding: 30px;
border-radius: 8px;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
position: relative;
}
.close-contract-popup {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
}
/* Style pour la popup d'alerte */
.alert-popup {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
background-color: #f44336;
color: white;
padding: 15px 25px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
z-index: 1000;
display: none;
animation: slideDown 0.3s ease-out;
}
/* ---------------------Style pour la popup notification--------------------- */
.notifications-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.notifications-content {
position: relative;
background: white;
border-radius: 8px;
padding: 24px;
width: 90%;
max-width: 500px;
}
.close-button {
position: absolute;
top: 15px;
right: 20px;
font-size: 24px;
color: #666;
cursor: pointer;
transition: color 0.2s;
}
.close-button:hover {
color: #000;
}
.notifications-title {
padding-right: 30px; /* Pour éviter que le titre ne chevauche le bouton de fermeture */
}
.notifications-title {
font-size: 24px;
color: #445B6E;
margin-bottom: 20px;
font-weight: 500;
}
.notifications-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.notification-item {
display: flex;
align-items: flex-start;
padding: 12px 0;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.notification-status {
margin-right: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
}
.dot-icon, .check-icon {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.notification-content {
flex: 1;
}
.notification-message {
font-size: 16px;
color: #333;
margin-bottom: 4px;
}
.notification-date {
font-size: 14px;
color: #666;
}
.notification-item:hover {
background-color: #f8f9fa;
}
.notification-item.read {
opacity: 0.7;
}
.notification-item.unread {
background-color: #fff;
}
.close-notifications {
position: absolute;
top: 15px;
right: 15px;
border: none;
background: none;
font-size: 24px;
color: #666;
cursor: pointer;
}
/*-------------------------------------- STYLE ACTION BUTTON ---------------------*/
.action-buttons-wrapper {
display: flex;
flex-direction: row;
gap: 10px;
justify-content: center;
margin: 20px 0;
}
.action-button {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border-radius: 8px;
border: none;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
color: white;
height: 40px;
width: 40px;
}
.confirm-button {
background-color: #4CAF50;
}
.confirm-button:hover {
background-color: #3d8b40;
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.cancel-button {
background-color: rgb(244, 67, 54);
}
.cancel-button:hover {
background-color: #d32f2f;
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.banner-image.clickable {
cursor: pointer;
transition: opacity 0.3s ease;
}
.banner-image.clickable:hover {
opacity: 0.8;
}
.parameter-list-ul.profile {
position: relative;
overflow: hidden;
max-height: 200px;
margin-bottom: 20px;
}
.profile-preview {
position: relative;
width: 100%;
height: 100%;
}
.preview-banner {
position: relative;
width: 100%;
height: 120px;
overflow: hidden;
}
.preview-banner-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.preview-info {
position: relative;
display: flex;
align-items: center;
padding: 10px;
gap: 10px;
background: rgba(0, 0, 0, 0.3);
}
.preview-avatar {
width: 45px;
height: 45px;
border-radius: 50%;
border: 2px solid white;
}
/* ---------------------Style pour le QR code--------------------- */
.qr-code {
width: 50px;
height: 50px;
cursor: pointer;
transition: transform 0.2s ease;
}
.qr-code:hover {
transform: scale(1.5);
}
.qr-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.qr-modal-content {
background-color: white;
padding: 20px;
border-radius: 8px;
position: relative;
text-align: center;
}
.close-qr-modal {
position: absolute;
right: 10px;
top: 5px;
font-size: 24px;
cursor: pointer;
color: #666;
}
.close-qr-modal:hover {
color: #000;
}
.qr-code-large {
max-width: 300px;
margin: 10px 0;
}
.qr-address {
margin-top: 10px;
word-break: break-all;
font-size: 12px;
color: #666;
}