 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     min-height: 100vh;
     font-family: 'Vazirmatn', Tahoma, sans-serif;
     background:
         radial-gradient(circle at top right, rgba(0, 119, 255, 0.32), transparent 35%),
         radial-gradient(circle at bottom left, rgba(0, 255, 204, 0.20), transparent 35%),
         linear-gradient(135deg, #08111f 0%, #101d35 45%, #071426 100%);
     overflow-x: hidden;
     color: #1f2937;
 }

 .animated-bg {
     position: fixed;
     inset: 0;
     overflow: hidden;
     z-index: 0;
 }

 .shape {
     position: absolute;
     border-radius: 50%;
     filter: blur(3px);
     opacity: 0.35;
     animation: floatShape 12s infinite ease-in-out;
 }

 .shape.one {
     width: 260px;
     height: 260px;
     background: #0d6efd;
     top: 8%;
     right: 8%;
     animation-delay: 0s;
 }

 .shape.two {
     width: 190px;
     height: 190px;
     background: #20c997;
     bottom: 12%;
     left: 10%;
     animation-delay: 2s;
 }

 .shape.three {
     width: 130px;
     height: 130px;
     background: #ffc107;
     top: 55%;
     right: 18%;
     animation-delay: 4s;
 }

 .shape.four {
     width: 100px;
     height: 100px;
     background: #dc3545;
     top: 16%;
     left: 20%;
     animation-delay: 6s;
 }

 @keyframes floatShape {

     0%,
     100% {
         transform: translateY(0) translateX(0) scale(1);
     }

     50% {
         transform: translateY(-35px) translateX(25px) scale(1.07);
     }
 }

 .page-wrapper {
     position: relative;
     z-index: 2;
     min-height: 100vh;
     padding: 45px 15px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .register-container {
     width: 100%;
     max-width: 1180px;
     display: grid;
     grid-template-columns: 0.95fr 1.45fr;
     border-radius: 30px;
     overflow: hidden;
     background: rgba(255, 255, 255, 0.13);
     backdrop-filter: blur(22px);
     box-shadow:
         0 35px 80px rgba(0, 0, 0, 0.35),
         inset 0 0 0 1px rgba(255, 255, 255, 0.14);
     animation: cardEntrance 0.9s ease forwards;
 }

 @keyframes cardEntrance {
     from {
         opacity: 0;
         transform: translateY(35px) scale(0.98);
     }

     to {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 .brand-side {
     position: relative;
     padding: 48px 38px;
     color: #fff;
     background:
         linear-gradient(155deg, rgba(13, 110, 253, 0.92), rgba(7, 20, 38, 0.92)),
         url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1200&auto=format&fit=crop');
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }

 .brand-side::after {
     content: "";
     position: absolute;
     inset: 0;
     background:
         linear-gradient(45deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%),
         linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%);
     background-size: 28px 28px;
     opacity: 0.22;
 }

 .brand-content {
     position: relative;
     z-index: 2;
     height: 100%;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
 }

 .company-logo {
     display: inline-flex;
     align-items: center;
     gap: 12px;
     font-size: 21px;
     font-weight: 800;
 }

 .company-logo i {
     width: 52px;
     height: 52px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     border-radius: 17px;
     background: rgba(255, 255, 255, 0.16);
     box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
 }

 .brand-title {
     margin-top: 55px;
 }

 .brand-title h1 {
     font-size: 35px;
     line-height: 1.6;
     font-weight: 900;
     margin-bottom: 18px;
 }

 .brand-title p {
     font-size: 15px;
     line-height: 2;
     color: rgba(255, 255, 255, 0.82);
 }

 .features {
     margin-top: 35px;
 }

 .feature-item {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 16px;
     color: rgba(255, 255, 255, 0.92);
     animation: fadeRight 0.7s ease both;
 }

 .feature-item:nth-child(1) {
     animation-delay: 0.4s;
 }

 .feature-item:nth-child(2) {
     animation-delay: 0.6s;
 }

 .feature-item:nth-child(3) {
     animation-delay: 0.8s;
 }

 @keyframes fadeRight {
     from {
         opacity: 0;
         transform: translateX(25px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .feature-item i {
     width: 36px;
     height: 36px;
     border-radius: 12px;
     background: rgba(255, 255, 255, 0.15);
     display: inline-flex;
     align-items: center;
     justify-content: center;
 }

 .brand-footer {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.72);
 }

 .form-side {
     background: rgba(255, 255, 255, 0.96);
     padding: 38px;
     max-height: 92vh;
     overflow-y: auto;
 }

 .form-side::-webkit-scrollbar {
     width: 8px;
 }

 .form-side::-webkit-scrollbar-track {
     background: #eef2f7;
     border-radius: 20px;
 }

 .form-side::-webkit-scrollbar-thumb {
     background: #0d6efd;
     border-radius: 20px;
 }

 .form-header {
     margin-bottom: 28px;
 }

 .form-header .badge-title {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 8px 14px;
     border-radius: 999px;
     color: #0d6efd;
     background: rgba(13, 110, 253, 0.10);
     font-weight: 700;
     font-size: 13px;
     margin-bottom: 15px;
 }

 .form-header h2 {
     font-size: 28px;
     font-weight: 900;
     color: #111827;
     margin-bottom: 10px;
 }

 .form-header p {
     color: #6b7280;
     margin-bottom: 0;
     line-height: 1.8;
 }

 .section-title {
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 30px 0 18px;
     color: #0f172a;
     font-weight: 900;
     font-size: 17px;
 }

 .section-title i {
     width: 38px;
     height: 38px;
     border-radius: 13px;
     background: linear-gradient(135deg, #0d6efd, #20c997);
     color: #fff;
     display: inline-flex;
     align-items: center;
     justify-content: center;
 }

 .input-group-custom {
     position: relative;
     margin-bottom: 18px;
     animation: inputEntrance 0.55s ease both;
 }

 @keyframes inputEntrance {
     from {
         opacity: 0;
         transform: translateY(14px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .input-group-custom label {
     font-size: 13px;
     font-weight: 800;
     color: #374151;
     margin-bottom: 8px;
 }

 .form-control,
 .form-select,
 select,
 input,
 textarea {
     width: 100%;
     border: 1px solid #dbe3ef !important;
     background-color: #f8fafc !important;
     border-radius: 15px !important;
     min-height: 48px;
     padding: 11px 14px !important;
     font-size: 14px;
     transition: all 0.25s ease;
     box-shadow: none !important;
 }

 textarea {
     min-height: 100px;
     resize: vertical;
 }

 .form-control:focus,
 .form-select:focus,
 select:focus,
 input:focus,
 textarea:focus {
     background-color: #fff !important;
     border-color: #0d6efd !important;
     box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12) !important;
     outline: none;
 }

 input[type="file"] {
     padding-top: 13px !important;
 }

 .errorlist {
     list-style: none;
     padding: 0;
     margin: 7px 0 0;
     color: #dc3545;
     font-size: 12px;
     font-weight: 600;
 }

 .alert-custom {
     border: none;
     border-radius: 16px;
     padding: 14px 16px;
     margin-bottom: 18px;
     font-size: 14px;
 }

 .submit-box {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 14px;
     margin-top: 30px;
     padding-top: 22px;
     border-top: 1px solid #e5e7eb;
 }

 .btn-register {
     border: none;
     min-width: 190px;
     height: 52px;
     border-radius: 16px;
     color: #fff;
     font-size: 15px;
     font-weight: 900;
     background: linear-gradient(135deg, #0d6efd, #0052cc, #20c997);
     background-size: 200% 200%;
     box-shadow: 0 16px 30px rgba(13, 110, 253, 0.28);
     transition: all 0.25s ease;
     animation: gradientMove 4s infinite ease;
 }

 @keyframes gradientMove {

     0%,
     100% {
         background-position: right center;
     }

     50% {
         background-position: left center;
     }
 }

 .btn-register:hover {
     transform: translateY(-3px);
     box-shadow: 0 22px 38px rgba(13, 110, 253, 0.35);
 }

 .login-link {
     color: #475569;
     font-size: 14px;
 }

 .login-link a {
     color: #0d6efd;
     text-decoration: none;
     font-weight: 900;
 }

 .login-link a:hover {
     text-decoration: underline;
 }

 .pdp-default {
     font-family: 'Vazirmatn', Tahoma, sans-serif !important;
     z-index: 999999 !important;
 }

 @media (max-width: 992px) {
     .register-container {
         grid-template-columns: 1fr;
     }

     .brand-side {
         min-height: 420px;
     }

     .form-side {
         max-height: unset;
     }
 }

 @media (max-width: 576px) {
     .page-wrapper {
         padding: 20px 10px;
     }

     .brand-side,
     .form-side {
         padding: 28px 20px;
     }

     .brand-title h1 {
         font-size: 26px;
     }

     .form-header h2 {
         font-size: 23px;
     }

     .submit-box {
         flex-direction: column;
         align-items: stretch;
     }

     .btn-register {
         width: 100%;
     }
 }