/* Premium User Profile Styles */

/* 1. Global Reset / Base for Profile */
.profile-container {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 2. Main Card */
.profile-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 20px 0 !important; /* Reduce padding since no border */
  width: 100% !important;
  max-width: 900px !important;
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: profileFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes profileFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 3. Header Section */
.profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 25px;
  margin-bottom: 10px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffd700, #ff9f43);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 159, 67, 0.3);
}

.profile-title {
  display: flex;
  flex-direction: column;
}

.profile-title h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(to right, #fff, #ffd700);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.profile-title p {
  color: #a0a5b5;
  font-size: 0.95rem;
  margin-top: 5px;
}

/* 4. Grid Layout */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Columns */
  gap: 20px;
}

/* 5. Info Items */
.profile-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-item:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Labels & Values */
.profile-item label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-item label i {
  color: #ffd700; /* Gold Icon */
  font-size: 1rem;
}

.value-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  font-family:
    "Inter", sans-serif;
}

/* Specific Value Colors */
#profile-status {
  text-transform: capitalize;
}

/* 6. Playlists Section - Now inside Grid */
.profile-playlists-section {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

.profile-playlists-section:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.profile-playlists-section h3 {
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888 !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-playlists-section h3::before {
    content: '\f03a'; /* fa-list */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffd700;
}

#refresh-profile-pl-btn {
  background: transparent;
  border: 1px solid #ffd700;
  color: #ffd700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#refresh-profile-pl-btn:hover {
  background: #ffd700;
  color: #000;
  border-color: #ffd700;
}

/* Scrollbar for Playlists */
.playlist-list-scroll::-webkit-scrollbar {
  width: 4px;
}
.playlist-list-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    padding: 20px !important;
    width: 95% !important;
  }
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ACTIVATION DASHBOARD STYLES */
.activation-dashboard {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 10px;
}

.act-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 20px;
}
.act-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.act-subtitle {
  color: #888;
  font-size: 0.9rem;
}

.act-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.act-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.act-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.act-card h3 {
  font-size: 1rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 10px;
}

/* Identity Card */
.qr-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.qr-gen-box {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.id-display-group label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 8px;
}
.code-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#device-id-display-large {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 1px;
}
.copy-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: 0.2s;
}
.copy-icon-btn:hover {
  opacity: 1;
  color: #ffd700;
  transform: scale(1.1);
}

/* Status Card */
.status-stepper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.step {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.4;
  transition: 0.3s;
}
.step.active {
  opacity: 1;
}
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.step.active .step-icon {
  background: #3498db;
  border-color: #3498db;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}
.step.completed .step-icon {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #000;
}
.step-label {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.pulse-icon {
  animation: pulseBlue 1.5s infinite;
}
@keyframes pulseBlue {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.action-box {
  background: rgba(52, 152, 219, 0.1);
  border-left: 4px solid #3498db;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 25px;
}
.action-instr {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.highlight-url {
  color: #fff;
  font-weight: 700;
  background: rgba(52, 152, 219, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}
.polling-indicator {
  font-size: 0.8rem;
  color: #3498db;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-link-btn {
  background: transparent;
  border: none;
  color: #777;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.2s;
}
.text-link-btn:hover {
  color: #aaa;
}
/* Responsive */
@media (max-width: 900px) {
    .act-grid { grid-template-columns: 1fr; }
} 
 / *   M a n u a l   I n p u t   C o n t a i n e r   ( A d v a n c e d )   * /  
 # m a n u a l - i n p u t - c o n t a i n e r   {  
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 4 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         p a d d i n g :   2 5 p x ;  
         m a r g i n - t o p :   2 5 p x ;  
         o p a c i t y :   0 ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 0 p x ) ;  
         t r a n s i t i o n :   o p a c i t y   0 . 3 s   e a s e ,   t r a n s f o r m   0 . 3 s   e a s e ;  
 }  
  
 # m a n u a l - i n p u t - c o n t a i n e r . a c t i v e   {  
         o p a c i t y :   1 ;  
         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;  
 }  
  
 . a c t i o n - f o o t e r   {  
         d i s p l a y :   f l e x ;  
         g a p :   1 5 p x ;  
         m a r g i n - t o p :   2 0 p x ;  
 }  
  
 . s a v e - b t n   {  
         f l e x :   2 ;  
         b a c k g r o u n d :   # f f d 7 0 0 ;  
         c o l o r :   # 0 0 0 ;  
         b o r d e r :   n o n e ;  
         p a d d i n g :   1 2 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         f o n t - w e i g h t :   7 0 0 ;  
         c u r s o r :   p o i n t e r ;  
         f o n t - s i z e :   1 r e m ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         j u s t i f y - c o n t e n t :   c e n t e r ;  
         g a p :   1 0 p x ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 2 s ,   b a c k g r o u n d   0 . 2 s ;  
 }  
 . s a v e - b t n : h o v e r   {  
         b a c k g r o u n d :   # f f e d 4 a ;  
         t r a n s f o r m :   s c a l e ( 1 . 0 2 ) ;  
 }  
  
 . r e s e t - b t n   {  
         f l e x :   1 ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ;  
         c o l o r :   # f f f ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ;  
         p a d d i n g :   1 2 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         c u r s o r :   p o i n t e r ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         j u s t i f y - c o n t e n t :   c e n t e r ;  
         g a p :   1 0 p x ;  
         t r a n s i t i o n :   b a c k g r o u n d   0 . 2 s ;  
 }  
 . r e s e t - b t n : h o v e r   {  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 2 ) ;  
 }  
  
 / *   M o d e r n   I n p u t   o v e r r i d e s   f o r   S e t u p   * /  
 . m o d e r n - i n p u t   {  
         w i d t h :   1 0 0 % ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ;  
         c o l o r :   # f f f ;  
         p a d d i n g :   1 2 p x   1 5 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         f o n t - s i z e :   1 r e m ;  
         t r a n s i t i o n :   b o r d e r - c o l o r   0 . 3 s ;  
         o u t l i n e :   n o n e ;  
 }  
 . m o d e r n - i n p u t : f o c u s   {  
         b o r d e r - c o l o r :   # f f d 7 0 0 ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 8 ) ;  
 }  
 . f o r m - g r o u p   l a b e l   {  
         m a r g i n - b o t t o m :   8 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   8 p x ;  
         c o l o r :   # a a a ;  
         f o n t - s i z e :   0 . 9 r e m ;  
 }  
 . p a s s w o r d - w r a p p e r   {  
         p o s i t i o n :   r e l a t i v e ;  
 }  
 . t o g g l e - p a s s   {  
         p o s i t i o n :   a b s o l u t e ;  
         r i g h t :   1 5 p x ;  
         t o p :   5 0 % ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 5 0 % ) ;  
         c o l o r :   # a a a ;  
         c u r s o r :   p o i n t e r ;  
 }  
 