.form-control, .btn{
	border-radius:10px !important;
}


 .swal2-title{
	margin-bottom:20px;
	line-height:30px;
}
	   
.swal2-timer-progress-bar{
	height:7px;
	border-radius:3px;
	background: rgb(53,121,208);
	background: linear-gradient(90deg, rgba(53,121,208,1) 0%, rgba(0,73,232,1) 100%);
}
	   
.swal2-timer-progress-bar-container{
	background-color:#d6d6d6;
}
	   
.swal2-title{
	color:#333;
}

.story2off{
	position: relative;
      width: 92px;
      height: 92px;
      border-radius: 50%;
      display: grid;
      place-items: center;
}



  .story2off::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      padding: 4px;
 
	  
	   background: conic-gradient(
        #d8d8d8,
        #d8d8d8,
        #d8d8d8,
        #d8d8d8
      );
      -webkit-mask:
        radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
      mask:
        radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
      animation: spin 1.4s linear infinite;
     
    }


.story2 {
      position: relative;
      width: 92px;
      height: 92px;
      border-radius: 50%;
      display: grid;
      place-items: center;
    }

    /* animowany ring */
    .story2::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      padding: 4px;
      background: conic-gradient(
        #f9ce34,
        #ee2a7b,
        #6228d7,
        #f9ce34
      );
      -webkit-mask:
        radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
      mask:
        radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
      animation: spin 1.4s linear infinite;
    }

    .avatar2 {
      position: relative;
      z-index: 1;
      width: 78px;
      height: 78px;
      border-radius: 50%;
      overflow: hidden;
      border: 0px solid #111;
      background: #222;
    }

    .avatar2 img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }
	
	
	
	//stories
	
	
	
	
	
	.app {
      max-width: 520px;
      margin: 0 auto;
    }

    .stories-wrapper {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 16px 12px;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: thin;
    }

    .stories-wrapper::-webkit-scrollbar {
      height: 8px;
    }

    .stories-wrapper::-webkit-scrollbar-thumb {
      background: #d0d0d0;
      border-radius: 999px;
    }

    .stories {
      display: flex;
      gap: 14px;
      min-width: max-content;
    }

    .story {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 88px;
      cursor: pointer;
      flex: 0 0 auto;
      user-select: none;
    }

    .story-avatar {
      width: var(--story-size);
      height: var(--story-size);
      border-radius: 50%;
      background: linear-gradient(
        135deg,
        #feda75 0%,
        #fa7e1e 25%,
        #d62976 50%,
        #962fbf 75%,
        #4f5bd5 100%
      );
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3px;
      transition: transform var(--transition), box-shadow var(--transition);
    }

    .story:hover .story-avatar {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(214, 41, 118, 0.18);
    }

    .story-avatar-inner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: white;
      padding: 3px;
    }

    .story-avatar-inner img {
      width: 100%;
      height: 100%;
      display: block;
      border-radius: 50%;
      object-fit: cover;
    }

    .story-name {
      margin-top: 8px;
      font-size: 12px;
      max-width: 82px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
    }

    /* VIEWER */
    .story-viewer {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.96);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 20px;
    }

    .story-viewer.active {
      display: flex;
    }

    .story-card {
      position: relative;
      width: 100%;
      max-width: 390px;
      height: min(85vh, 760px);
      border-radius: 22px;
      overflow: hidden;
      background: #000;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    }

    .story-progress {
      position: absolute;
      top: 12px;
      left: 12px;
      right: 12px;
      z-index: 10;
      display: flex;
      gap: 6px;
    }

    .progress-bar {
      flex: 1;
      height: 3px;
      background: rgba(255, 255, 255, 0.28);
      border-radius: 999px;
      overflow: hidden;
    }

    .progress-fill {
      width: 0%;
      height: 100%;
      background: #fff;
      transition: width 0.08s linear;
    }

    .story-header {
      position: absolute;
      top: 24px;
      left: 16px;
      right: 16px;
      z-index: 11;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: white;
    }

    .story-user {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .story-user img {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(255,255,255,0.85);
    }

    .story-user-info strong {
      display: block;
      font-size: 14px;
	  line-height:14px;
	  margin-bottom:0px;
    }

    .story-user-info span {
      font-size: 12px;
	  line-height:12px;
      opacity: 0.85;
    }

    .close-btn {
      border: none;
      background: transparent;
      color: white;
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
      padding: 4px 8px;
    }

    .story-media {
      position: absolute;
      inset: 0;
      background: #000;
    }

    .story-media img,
    .story-media video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #000;
    }

    .story-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.08) 25%, rgba(0,0,0,0.28)),
        linear-gradient(to top, rgba(0,0,0,0.35), transparent 35%);
      pointer-events: none;
    }

    .story-caption {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 22px;
      color: white;
      z-index: 11;
      font-size: 15px;
      line-height: 1.45;
      text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    }

    .nav-zone {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 50%;
      z-index: 12;
      cursor: pointer;
    }

    .nav-zone.left {
      left: 0;
    }

    .nav-zone.right {
      right: 0;
    }

    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 13;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.18);
      color: white;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(4px);
    }

    .nav-arrow.left {
      left: 12px;
    }

    .nav-arrow.right {
      right: 12px;
    }

    .nav-arrow:hover {
      background: rgba(255,255,255,0.28);
    }

    /* TELEFON = pe?ny ekran */
    @media (max-width: 768px) {
      body {
        padding: 0;
        background: #fff;
      }

      .app {
        max-width: 100%;
      }

      .stories-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
      }

      .story-viewer {
        padding: 0;
        background: #000;
      }

      .story-card {
        width: 100vw;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
      }

      .nav-arrow {
        display: none;
      }

      .story-caption {
        bottom: 28px;
        font-size: 14px;
      }
    }