*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.success-box {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    margin: 15px auto 20px auto;
    text-align: center;
    font-weight: bold;
    max-width: 450px;
    transition: opacity 0.5s ease;
}



.btn-danger-profile{
    width:150px;
    
  }


.main-container {
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
}

.container {
    height: auto !important;
    overflow: visible !important;
}






/* 🔞 AGE MODAL */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.age-box h2 {
    margin-bottom: 15px;
    font-size: 26px;
    color: #c62828;
}

.age-box p {
    font-size: 15px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.5;
}

.age-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-age {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    min-width: 140px;
}

.btn-age.yes {
    background: #4caf50;
    color: #fff;
}

.btn-age.no {
    background: #e53935;
    color: #fff;
}

.btn-age:hover {
    opacity: 0.9;
}













.wrapper-img-profile {
    position: relative;
    display: inline-block;
}

.profile-image {
    display: block; /* IMPORTANT */
    width: 100%;
    height: auto;
    border-radius: 12px; /* dacă ai */
}

/* BADGE STATUS */
.profile-status {
    position: absolute;
    top: 8px;      /* ⬅️ sus */
    right: 8px;    /* ⬅️ dreapta */
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    color: #fff;
    z-index: 5;    /* ⬅️ peste imagine */
    pointer-events: none; /* nu încurcă click-ul */
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.profile-status.online {
    background: #2ecc71;
}

.profile-status.offline {
    background: #9e9e9e;
}















.container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    
  
}
.profile-main-wraper{
    position: relative!important;
}
.logout{
    position: absolute;
    
    right:10px;
    top: -60px;
    padding: 10px 15px;
    background-color: #6083f4;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: 1s;
}

.email-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:12px;
    background:#f1f3ff;
    color:#4b3cc4;
    text-decoration:none;
    font-weight:700;
    transition:all .25s ease;
    margin-top: 20px;
}

.email-link:hover{
    background:#667eea;
    color:#fff;
    box-shadow:0 6px 18px rgba(102,126,234,.35);
    transform:translateY(-2px);
}



@media (max-width: 850px) {
    .logout {
        display: none !important;
    }
}



@media (max-width: 1100px) {
    .left-panel,
    .right-panel {
        display: none !important;
    }
    .main-container{
        padding: 10px;
    }
}

@media (max-width: 800px) {
    .profile-main-wraper {
        display: block !important;
        width: 100%;
        margin-top:25px!important ;
    }
    .profile_wrapper-right {
        width: 94%!important;
        margin: 30px auto;
    }
     .profile_wrapper-left {
        width: 94%!important;
        margin: 30px auto;
    }
    .gallery-container{
        width: 94%!important;
         margin-top:70px!important ;
    }
.user-card{
    width:74%!important;
}
.wrapper-img-users{
   gap: 10px!important;
}

.top-card{
    margin-top: 80px;
}

.h1-users-comunity{
    margin-top: 30px!important;
}

.wrapper-img-users{
    margin-top: 50px!important;
}

.request-box{
     margin: 90px 10px 0 10px!important; 
    
}
.form-container{
      margin-top: 50px!important;
}


.trash{
    margin-right: 80px;
}

.chat-box{
    margin-top:0!important;
}


.chat-item{
    width:94%!important;
    margin: 0 auto;
    
}

.list{
   
   
    width: 100%!important;
}



}



.btn-danger-profile{
    background-color: red;
    text-decoration: none;
    padding: 3px 3px!important;
    color: white;
    border-radius: 10px;
      font-weight: 500;
      height: 30px;
   margin-bottom: -5px;
      
}





/* ====== DANGER ZONE (DELETE ACCOUNT) ====== */
.danger-zone{
  width: 100%;
  max-width: 520px;              /* aceeași ca form-container (sau mai mic dacă ai) */
  margin: 18px auto 100px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.danger-zone h3{
  margin: 0 0 10px;
  font-size: 16px;
  color: #c62828;
  font-weight: 800;
}

.danger-zone p{
  margin: 0 0 14px;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

/* Buton FULL WIDTH ca forma */
.btn-danger {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
   
    margin: 0 auto;
    border: none;
    border-radius: 14px;

    font-size: 16px;
    font-weight: 700;
   height: 40px;

    color: #fff;
    background: linear-gradient(135deg, #ff3b30, #b71c1c);

    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.35);
    transition: 
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}


.btn-danger:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(183,28,28,.35);
}

.btn-danger:active{
  transform: translateY(0);
  opacity: .95;
}

/* pe mobil - rămâne frumos */
@media (max-width: 600px){
  .danger-zone{
    max-width: 520px;
    padding: 16px;
    border-radius: 14px;
  }
}














.legal-links{
    text-align:center;
    margin-top:18px;
    font-size:14px;
    color:#666;
}

.legal-links a{
    color:#667eea;
    text-decoration:none;
    font-weight:600;
    padding:4px 6px;
    transition:all .2s ease;
}

.legal-links a:hover{
    color:#4b3cc4;
    text-decoration:underline;
}

.legal-links span{
    margin:0 6px;
    color:#aaa;
}




























/* ================= TOP 3 USERS ================= */
.top-wrap{max-width:900px;margin:40px auto;padding:0 16px;font-family:Arial}
.top-card{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.08);overflow:hidden}
.top-head{padding:18px;background:linear-gradient(135deg,#7f3de0,#4b7bff);
color:#fff;display:flex;align-items:center;justify-content:space-between}
.top-head h2{margin:0;font-size:22px}
.top-head a{background:#fff;color:#111;text-decoration:none;
padding:10px 14px;border-radius:12px;font-weight:700}

.top-grid{display:grid;grid-template-columns:1fr;gap:12px;padding:16px}
.user-row{display:flex;align-items:center;gap:14px;
padding:14px;border-radius:16px;background:#f6f7ff}

.badge{width:44px;height:44px;border-radius:14px;
display:grid;place-items:center;font-weight:900;color:#fff}
.badge.one{background:#ffb300}
.badge.two{background:#9e9e9e}
.badge.three{background:#cd7f32}

.uava{width:200px!important;
height:200px!important;
border-radius:10%;
object-fit:cover
    
}
.uname{font-weight:800;color:#111;text-decoration:none}
.uname.muted{color:#777}
.meta{font-size:13px;color:#555;margin-top:3px}

.actions{padding:0 16px 18px}
.btn-buy{display:block;text-align:center;background:#7f3de0;color:#fff;
padding:14px;border-radius:14px;font-weight:800;text-decoration:none}

@media (min-width:700px){
  .top-grid{grid-template-columns:repeat(3,1fr)}
  .user-row{flex-direction:column;text-align:center}
  .uava{width:74px;height:74px}
}
/* ================================================= */

































.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}




.wrapper-img-profile {
    width: 100%;
    /*max-width: 320px;      */
    margin: 0 auto;         /* centrează imaginea */
    border-radius: 15px;    /* colțuri rotunjite */
    overflow: hidden;       /* ascunde marginile imaginii */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background:#d0d6d9;
   

}

.profile-image {
    width: 100%!important;
    height: 320px;          /* poți schimba (ex: 350px, 300px etc.) */
    object-fit: cover;      /* taie frumos imaginea fără deformare */
    object-position: center;/* centrează imaginea */
    display: block;
    border-radius: 10px!important;
}










.wrapper-img-profile {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
   
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-change-photo {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    background: #4fa3ff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
    margin-bottom: 10px;
}

.btn-change-photo:hover {
    background: #3a8de0;
}




























.btn-photos {
    display: inline-block;
    padding: 3px 5px;
    margin-top: 10px;
   background-color: #2672de;
    color: white;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 4px 14px rgba(106, 90, 249, 0.3);
    
}

.btn-photos:hover {
     background-color: #1b9de3;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(106, 90, 249, 0.45);
}























.hidden {
    display: none;
}

/* ================================
      BIO / SLOGAN DISPLAY BOX
================================= */
.slogan-box {
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    margin-top: 15px;
    margin-bottom: 25px;
    border: 1px solid #dfe6f5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.slogan-text {
    font-size: 17px;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* ================================
          EDIT BUTTON
================================= */
.slogan-edit-btn {
    background: #4fa3ff;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: 0.25s ease;
    box-shadow: 0 3px 10px rgba(79,163,255,0.3);
}

.slogan-edit-btn:hover {
    background: #2d95ff;
    transform: translateY(-2px);
}

/* ================================
      HIDDEN EDIT BOX
================================= */
.slogan-edit-box {
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    margin-top: 10px;
    border: 1px solid #dde5f2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Textarea */
.slogan-textarea {
    width: 100%;
    height: 100px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #c7d4ee;
    background: #f7faff;
    font-size: 16px;
    color: #222;
    outline: none;
    resize: vertical;
    transition: 0.25s ease;
}

.slogan-textarea:focus {
    border-color: #4fa3ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79,163,255,0.25);
}

/* Save button */
.slogan-save-btn {
    background: #4fa3ff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
}

.slogan-save-btn:hover {
    background: #2a8eee;
    transform: translateY(-2px);
}

/* Cancel button */
.slogan-cancel-btn {
    background: #e9edf5;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    margin-left: 8px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.25s ease;
}

.slogan-cancel-btn:hover {
    background: #d4d8e2;
}
























.delete-comment {
    color: red;
    font-size: 20px;
    margin-left: 10px;
    text-decoration: none;
    cursor: pointer;
}

.delete-comment:hover {
    color: darkred;
}





.link-delete{
    margin-left: auto;
    text-decoration: none;
}











.refresh-info {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin: 20px 0 40px;
    color: #2c3e50;
    opacity: 0.85;
    user-select: none;
}


.refresh-info {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin: 15px 0 35px;
    color: #2c3e50;
    opacity: 0.85;
}

.wrapper-img-users {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.wrapper-img-users a {
    display: block;
}

.wrapper-img-users img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .3s;
}

.wrapper-img-users img:hover {
    transform: scale(1.05);
}






.gifts-body {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px;
}

.gift-item-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    max-width: 180px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.gift-item-wrapper:hover {
    transform: translateY(-4px);
}

.gift-item-wrapper img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 8px;
}

.gift-from, .gift-to, .gift-date {
    font-size: 14px;
    color: #444;
    margin-top: 5px;
}

.gift-from a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}































.friends-gifts {
    margin-top: 20px;
}

.gifts-body {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 pe rând */
    gap: 20px;
    justify-items: center;
    padding: 15px;
}

.gift-item-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 150px; /* controlează dimensiunea cardurilor */
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gift-item-wrapper:hover {
    transform: translateY(-5px);
}

/* ——— IMAGINEA DE CADOU ——— */
.gift-item-wrapper img {
    width: 100%!important;
    height: 130px;         /* toată înălțimea cardului */
    object-fit: contain;   /* NU deformează imaginea */
    background: #f9f9f9;
    border-radius: 6px;
}

/* ——— TEXT DE SUB CADOU ——— */
.gift-from {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
}

.gift-from a {
    text-decoration: none;
    font-weight: bold;
    color: #0077ff;
}

.gift-from a:hover {
    text-decoration: underline;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
    .gifts-body {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gifts-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .gifts-body {
        grid-template-columns: repeat(1, 1fr);
    }
}


























.profile-stats {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px dashed rgba(0, 0, 0, 0.12);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
        font-size: 0.9rem;
    }

    .profile-stats p {
        margin: 0;
        color: #444;
    }

    .profile-stats span.label {
        font-weight: 600;
        color: #888;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        display: block;
    }

    .profile-stats span.value {
        font-weight: 600;
        color: #333;
    }

  


 .profile-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin: 15px 0 5px;
    }





 .btn-main,
    .btn-outline,
    .btn-ghost {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 16px;
        border-radius: 999px;
        border: none;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .btn-main {
        background: linear-gradient(135deg, #ff7f7f, #ffb199);
        color: #fff;
        box-shadow: 0 6px 16px rgba(255, 127, 127, 0.5);
    }

    .btn-main:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(255, 127, 127, 0.7);
    }

    .btn-outline {
        background: #fff;
        color: #ff7f7f;
        border: 1px solid rgba(255, 127, 127, 0.5);
    }

    .btn-outline:hover {
        background: #fff0f0;
    }

    .btn-ghost {
        background: transparent;
        color: #555;
        border: 1px dashed #ccc;
    }

    .btn-ghost:hover {
        background: rgba(0, 0, 0, 0.03);
    }












.google-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;              /* spațiu între elemente */
    margin: 40px auto;      /* centrare pe pagină */
    padding: 20px;
    
    /* opțional: card design modern */
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    width: fit-content;
}









.gift-grid {
  max-height: 800px;     /* limita maximă */
  overflow-y: auto;      /* apare scroll doar dacă este nevoie */
  overflow-x: hidden;    /* fără scroll pe orizontală */
  -webkit-overflow-scrolling: touch; /* scroll fluid pe mobile */
}

/* scrollbar frumos (opțional) */
.gift-grid::-webkit-scrollbar {
  width: 10px;
}
.gift-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.gift-grid::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 6px;
}
.gift-grid::-webkit-scrollbar-thumb:hover {
  background: #777;
}




























#paypal-button-container > div {
    margin: 0 auto !important;
}















.container-login{
    display: flex;
    flex-direction: column;
    
}
.container-login .h1-login{
    margin: 100px auto 150px;
    

}


.all-friends-wrapper{
    margin-top:100px;
}

.link-all-friends{
    color: green;
    cursor:pointer;
}

.left-panel,.right-panel{
    width: 300px;
    height: 100vh;
}
.main-container{
    display: flex;
}
body{
  background: radial-gradient(circle,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
  position: relative;
}
.h1-login{
text-align: center;
font-size: 35px;
color: rgb(255, 255, 255);
font-weight: 700;
user-select: none;
}
.h1-login span{
    color: #e03434;
}

.terms-p{
    font-size: 20px;
    word-spacing: 10px;
    margin-bottom: 150px;
    text-align: center;
    margin-top: 150px;
    user-select: none;
    padding: 0 25px;
}


.terms-p span{
    font-size: 3rem;
    margin-bottom: 80px;
    display: block;
}





.back-link {
    display: block;
  margin: 0 auto;
  
 width: 250px;
 margin-bottom: 150px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #222;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.back-link:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.arrow { font-size: 18px; }













ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    color: black;
    font-weight: 500;
    cursor: pointer;
}

ul li a:hover{
    color: #968989;
    transition: 0.5s;
}
.header-menu{
    display: flex;
    justify-content: space-around;
    margin-top: 25px;
}















/* profile */

.slogan{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    
   
}
.profile-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}



.slogan p:first-of-type {
    
    width: 100%;
    overflow-wrap: break-word; /* textul se va împacheta */
    word-wrap: break-word;     /* compatibilitate mai veche */
}

.slogan p:last-of-type:hover{
  color: #968989;
  transition: 0.5s;
  cursor: pointer;
  

}
.slogan p:last-of-type{
    color: rgb(112, 112, 210);
    margin-left: auto;

    
   
}


.profile-main-wraper {
    margin-top: 150px;
    display: flex;         
    gap: 20px;   
    width: 100%; 
    margin-bottom: 100px;
        
} 
.profile_wrapper-left {
    width: 30%;  
    padding-right: 10px;
     
} 

.profile_wrapper-right {
    width: 70%;           

}





.wrapper-img-profile{
    background-color: #ffffff;
    border-radius: 10px;
}

.friends-header{
    background-color: #d4edf0;
    padding: 5px;
    padding-left: 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
}
.friends-online{
    width: 100%;
    border: 2px dotted rgb(121, 115, 115);
    border-radius: 10px;
    margin-bottom: 60px;

   
}
.friends-body{
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}


.friends-gifts {
     width: 100%;
    border: 2px dotted rgb(121, 115, 115);
    border-radius: 10px;
    margin-bottom: 60px;
}

.gifts-header {

     background-color: #d4edf0;
    padding: 5px;
    padding-left: 20px;
    border-radius: 10px 10px 0 0;
     font-weight: 700;
}
.gifts-body {
     padding: 20px;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     border-radius: 0 0 10px 10px;
}
.all-gifts{
    color: green;
}

.gifts-body img{
    width: 20%;
   
}


.recent-profile-visitors {

      width: 100%;
    border: 2px dotted rgb(121, 115, 115);
    border-radius: 10px;
    margin-bottom: 60px;
}

.visitors-header {
      background-color: #d4edf0;
    padding: 5px;
    padding-left: 20px;
    border-radius: 10px 10px 0 0;
     font-weight: 700;

}
.visitors-body {
    padding: 20px;
    display: flex;
    flex-wrap: wrap !important;
    gap: 10px;
    justify-content: space-around;
    background-color: #fff;
    border-radius:0 0 10px 10px;
}






















.post-coment-profile{
     width: 100%;       /* ocupă tot spațiul disponibil */
    height: 150px;     /* înălțimea fixă */
    padding: 10px;     /* spațiu interior */
    resize: vertical;  /* permite redimensionare verticală */
    font-size: 16px;   /* text mai lizibil */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* include padding în width */
}
.submit-coment{
     margin: 10px 10px 80px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #7070d2;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: auto;
    display: block;

}
.submit-coment:hover {
    background-color: #5959b3;
    transition: 0.5s;
}

.comments {

    width: 100%;
    border: 2px dotted rgb(121, 115, 115);
    border-radius: 10px;
    margin-bottom: 60px;
    
  
}
.comments-header {
    background-color: #d4edf0;
    padding: 5px;
    padding-left: 20px;
    border-radius: 10px 10px 0 0;
     font-weight: 700;
}

.comments-body {
     padding: 20px;
}

.friends-online-photo-wrapper{
    width: 18%;
    margin-bottom: 15px;
    
}
.friends-online-photo-wrapper img{
    width: 100%;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
    display: block;


}

.recent-visitators-photo-wrapper {
     
     margin-bottom: 15px;
}
.recent-visitators-photo-wrapper img{
    width: 100%;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
    display: block;

}


.comment-user-wrapper {
    display: flex;
    
    border: 1px solid black;
    border-radius: 10px;
    width: 100%;
    margin:0 auto;
    background-color: #fff;
    width: 98%;
    padding: 1%;
    margin-bottom: 25px;

    

}
.text-comment {
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: left;
    padding: 10px;
    line-height: 1.5;
}



.name-comment{
    font-weight: 500;
    color: #0a5482;
    padding: 5px;
    padding-left:10px;
}

.comment-user-wrapper img{
    border-radius: 10px 0 0 10px;
    width: 100px;
    height:100px;
    object-fit: cover;
    
}
.logout:hover{
    background-color: #2f4cd0;
}





.img-planet{
    width: 120px;
}


/* search user */
.img-matches{
    width: 100px;
}

.h1-find-matches{
    color: #e03434;
    margin-top: 200px;
    font-size: 4em;
    user-select: none;
    margin: 130px auto 150px;
    text-align: center;
}



.form-search {
    display: flex;
    flex-direction: column; /* totul unul sub altul */
    gap: 15px; /* distanță între rânduri */
    max-width: 400px; /* mai ordonat */
    margin: 0 auto;
    margin-top: 100px;
}

















.form-search label {
    display: flex;
    flex-direction: column; 
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    border: 1px dotted black;
    border-radius: 5px;
    padding: 15px;
    background: rgba(205, 174, 174, 0.475);

}
.form-search select,
.form-search input[type="number"],
.form-search input[type="checkbox"] {
    margin-top: 10px;
    padding: 10px;
    width: 100%; /* input și select 100% lățime */
    box-sizing: border-box;
    border-radius: 5px;
}

.form-search input[type="checkbox"] {
    width: auto; /* checkbox normal */
}


.submit-search {
    font-size: 20px;
    padding: 12px 50px;
    border-radius: 40px;
    margin: 40px auto 100px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #e03434, #ff5c5c);
    color: #fff;
    font-weight: 600;

    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

/* efect de lumină care trece peste buton */
.submit-search::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
}

/* Hover */
.submit-search:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(224, 52, 52, 0.4);
}

/* animația luminii */
.submit-search:hover::after {
    animation: slide-light 0.7s forwards;
}

@keyframes slide-light {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* users */


.wrapper-img-users {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
    margin-bottom: 250px;


}

.wrapper-img-users img{
    width: 120px;
    height: 120px;
    background-position: cover;
    border-radius: 5px;
    user-select: none;
    background-color: #ffffff37;
}

.h1-users-comunity{
    margin: 150px auto 50px;
    color: #e03434;
    font-size: 3.5em;
    text-align: center; /* centrare orizontală */
    width: 100%;
    user-select: none;        /* pentru siguranță */
}

.h1-users-comunity img{
    width: 70px;
}



/* mesage */

.messages-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e9f2fb;
    border: 1px solid #d0d9e6;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.select-all-label {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-selected {
    padding: 8px 16px;
    background: #e03434;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.delete-selected:hover {
    background: #ff5c5c;
    transform: scale(1.05);
}

/* restul designului rămâne exact */
.messages-table {
    width: 100%;
    border: 1px solid #d0d9e6;
    border-radius: 6px;
    background: #f7fbff;
    font-family: Arial, sans-serif;
}

.messages-header {
    display: grid;
    grid-template-columns: 40px 220px 1fr 150px;
    font-weight: bold;
    padding: 12px 10px;
    border-bottom: 2px solid #c7d6e8;
    background: #e9f2fb;
    color: #333;
}

.message-row {
    display: grid;
    grid-template-columns: 40px 220px 1fr 150px;
    padding: 12px 10px;
    border-bottom: 1px solid #dbe6f2;
    background: #ffffff;
    transition: .2s ease;
}

.message-row:hover {
    background: #f3faff;
}

.col-check {
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-sender {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #ccc;
}

.sender-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sender-info a {
    color: #0077cc;
    font-weight: bold;
    text-decoration: none;
}

.sender-info a:hover {
    text-decoration: underline;
}

.time {
    font-size: 12px;
    color: #777;
}

.col-message {
    padding: 5px 0;
    color: #444;
}

.col-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.col-actions a {
    color: #0077cc;
    text-decoration: none;
    font-size: 14px;
}

.col-actions a:hover {
    text-decoration: underline;
}

.col-actions .delete {
    color: #e03434;
}



.wrapper-message {
    width: 100%;          /* ocupă tot containerul */
    max-width: 1200px;    /* nu depășește 1200px pe ecrane mari */
    margin: 20px auto;    /* centrează pe ecrane mai mari */
    padding: 0 15px;      /* spațiu la margini pe ecrane mici */
    box-sizing: border-box;
}
.message-header{
   text-align: center;
   margin: 100px auto 70px;
    color:#e03434;
    font-size: 50px;
    user-select: none;
    font-weight: 700;
}
.message-header img{
    width: 70px;
}








.error-box {
    background: #ffdddd;
    border-left: 5px solid #ff4444;
    color: #a30000;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
