  /*  register  */
/* Color variables */
:root {
    --white: #fff;
    --black: #000;
    --ul-primary: #941e3c;
    --ui-secondary: #f8e821;
}

/* Container styling */
.course-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Section header styling */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .title {
    font-weight: 700;
    font-size: clamp(25px, 2.63vw, 50px);
    color: var(--black);
    margin-bottom: clamp(5px, 0.42vw, 8px);
    letter-spacing: -0.04em;
    font-family: var(--font-quicksand);
}

/* Text red */
.textred {
    color: var(--ul-primary);
}

/* Form container styling */
.section-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

.form-sub-title{
  font-weight: 700;
  font-size: clamp(25px, 1.3vw, 50px);
  color: var(--ul-black);
  margin-bottom: clamp(5px, 0.42vw, 8px);
  letter-spacing: -0.04em;
  font-family: var(--font-quicksand);
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.form-sub-title span{
    color: var(--ul-primary);
}

.form-sub-title::before{
    content: '';
    position: absolute;
    bottom: 1px;
    left: 10px;
    width: 50px;
    height: 2px;
    background-color: var(--ul-primary);
}



/* Label styling */
label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* Input and select styling */
.input-box, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.input-box:focus, select:focus {
    border-color: var(--ul-primary);
    outline: none;
}

/* Button styling */
.btn {
    background-color: #28a745;
    color: var(--white);
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.btn:hover {
    background-color: #218838;
}

/* Add participant button */
.btn-box-add{
   display: flex;
   justify-content: end;     
}

.btn-info {
    background-color: var(--ul-primary);
    color: var(--white);
    font-size: 16px;
    width: 170px;
}

.btn-info:hover {
    background-color: var(--ui-secondary);
}

/* Profile and additional fields */
.control-label {
    font-size: 14px;
}

.lablecl {
    font-size: 14px;
}

.auth-box{
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-box input{
    padding: 20px;
}

/* Submit button center alignment */
.pt-5 {
    margin-top: 20px;
}

/* Prevent form overflow */
fieldset {
    border: none;
    padding: 0;
}

/* Success message */
.success-message {
    color: green;
    text-align: center;
}

/* Custom margin and padding */
.padding-tb {
    padding-top: 120px;
    padding-bottom: 60px;
}

/* Profile Section Styling */
.participant label {
    margin-bottom: 5px;
}

/* Icon button styling for adding/removing participant */
.add-btn, .remove-btn {
    background-color: var(--ul-primary);
    color: var(--white);
    padding: 5px 0px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline;
    margin: 10px 0px;
}

.add-btn:hover, .remove-btn:hover {
    background-color: #e03e31;
}

.add-btn {
    margin-top: 20px;
}

.remove-btn {
    background-color: #dc3545;
}

.remove-btn:hover {
    background-color: #c82333;
}

/* Content Styling (Paragraphs, Headings, Lists) */

/* General content styling */
h6 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 20px;
    color: var(--ul-primary);
    font-family: var(--font-quicksand);
}

/* Paragraph Styling */
p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Unordered and Ordered Lists */
ol, ul {
    margin-left: 20px;
    margin-bottom: 20px;
    text-align: none;
}

li {
    font-size: 15px;
    margin-bottom: 5px;
}

/* Bold Text */
b {
    font-weight: bold;
}

/* Specific Styling for the 'Remove' Button */

.removebtn-box{
    display: flex;
    justify-content: end;
}

.remove-btn {
    background-color: #dc3545;
    color: var(--white);
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.remove-btn:hover {
    background-color: #c82333;
}



/* Space adjustments for the .course-item */
.course-item {
    margin-bottom: 30px;
}

.course-inner {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course-item p {
    margin-bottom: 10px;
}

/* Styling for ordered list items for the event description */
ol {
    margin-top: 10px;
}

li {
    padding-left: 1.2em;
    text-indent: -1.2em;
    position: relative;
}

/* li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ul-primary);
    font-weight: bold;
} */

/* Add margin to the entire section */
.section-wrapper {
    margin-top: 30px;
}

/* Ensure the content looks nice with padding and correct spacing */
ul, ol {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

ol li {
    margin-bottom: 10px;
}

/* For the participant section - styling for text and inputs */
.participant label {
    font-size: 14px;
    color: var(--black);
    margin-bottom: 5px;
}

.participant input,
.participant select {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.participant input:focus,
.participant select:focus {
    border-color: var(--ul-primary);
    outline: none;
}

/* Styling for the profile section */
.profile-section {
    margin-top: 20px;
}

.profile-section h6 {
    font-size: 16px;
    font-weight: bold;
}

/* Matching the paragraph and heading styles for the entire content */
h6, p {
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .section-wrapper {
        padding: 15px;
    }

    .ul-footer-about h2 {
    color: var(--white);
    font-size: 15px;
   }

   .container{
    width: 100%;
   }

   ul, ol {
    padding-left: 0px;
}

.course-inner h6{
    font-size: 24px;
}

}
