 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Vazirmatn', Tahoma, sans-serif;

 }

 html {
     overflow-x: hidden;
 }

 .certificate-container {
     background: white;
     border-radius: 25px;
     width: 100%;
     max-width: 500px;
     padding: 20px;
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
     border: 1px solid rgba(0, 0, 0, 0.05);
     margin: 25px auto;
 }

 .header-certificat {
     text-align: center;
     margin-bottom: 35px;
 }

 .header-icon {
     font-size: 1rem;
     color: #9C2D2D;
     margin-bottom: 10px;
 }

 .header-certificat h1 {
     font-size: 1.2rem;
     font-weight: 900;
     background: #9C2D2D;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 10px;
 }


 .form-group {
     margin-bottom: 20px;
 }

 .form-label {
     display: block;
     margin-bottom: 12px;
     color: #444;
     font-weight: 600;
     font-size: 1rem;
     display: flex;
     align-items: center;
     justify-content: flex-end;

     gap: 10px;
 }

 .form-label i {
     color: #9C2D2D;
     font-size: 1.2rem;
 }

 .input-wrapper {
     position: relative;
 }

 .certificate-input {
     width: 100%;
     padding: 18px 25px 18px 20px;
     border: 2px solid #e0e0e0;
     border-radius: 15px;
     font-size: 1rem;
     color: #333;
     transition: all 0.3s ease;
     background: #f8f9fa;
     text-align: left;
 }

 .certificate-input:focus {
     outline: none;
     border-color: #9C2D2D;
     background: white;
     box-shadow: 0 0 0 4px rgba(229, 32, 32, 0.1);
 }

 .input-icon {
     position: absolute;
     right: 25px;
     top: 50%;
     transform: translateY(-50%);
     color: #999;
     font-size: 1rem;
 }

 .certificate-input:focus+.input-icon {
     color: #9C2D2D;
 }

 .input-hint {
     display: block;
     margin-top: 8px;
     color: #888;
     font-size: 0.9rem;
     font-style: italic;
 }

 .submit-btn-cer {
     width: 100%;
     padding: 18px;
     background: #9C2D2D;
     color: white;
     border: none;
     border-radius: 15px;
     font-size: 1.2rem;
     font-weight: 800;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 12px;
 }

 .submit-btn-cer:hover {
     background: #B23A3A;
     transform: translateY(-3px);
     box-shadow: 0 10px 25px rgba(229, 32, 32, 0.3);
 }

 .submit-btn-cer:active {
     transform: translateY(0);
 }

 .footer {
     text-align: center;
     margin-top: 30px;
     padding-top: 20px;
     border-top: 1px solid #eee;
     color: #888;
     font-size: 0.9rem;
 }

 /* ریسپانسیو */
 @media (max-width: 600px) {
     .certificate-container {
         padding: 30px 20px;
     }

     .header-certificat h1 {
         font-size: 1.8rem;
     }



     .certificate-input {
         padding: 16px 25px 16px 60px;
         font-size: 1rem;
     }

     .submit-btn-cer {
         padding: 16px;
         font-size: 1.1rem;
     }
 }

 @media (max-width: 400px) {
     .header-certificat h1 {
         font-size: 1.6rem;
     }

     .header-icon {
         font-size: 3rem;
     }
 }