:root {
    --primary-color: #01a479;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-color: #2d3436;
    --light-color: #f7f7f7;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
    font-family: "Barlow", sans-serif;
}
.mycontainer{
    border-radius: 15px;
    overflow: hidden;
    background: white;
}
.mypage{
    min-height: 500px;
    border: 1px solid #EEE;
}
.mypage h2{
    display: block;
    padding: 15px;
    font-size: 1.8rem;
    border-bottom: 1px solid #EEE;
}
.header {
    background: white;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.logo {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}
.login-btn {
    background-color: #01a479;
    color: white;
    transition: all 0.3s;
    font-size: medium;
}
.login-btn:hover {
    background-color: lightgrey;
    color: black;
}
.main-content {
    flex: 1;
    padding: 2rem 0;
}
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    line-height: 1; 
}
.hero-description {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer {
    background-color: #202020;
    color: white;
    padding: 0.5rem 0;
    text-align: center;
    margin-top: auto;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .logo {
        font-size: 1.5rem;
    }
}


.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.main-content {
    flex: 1;
}

.login-form h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.login-form p {
    color: #777;
    margin-bottom: 30px;
}

.profession-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #FFF;
    border-radius: 8px;
}

.profession-category strong {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}


.notification-dropdown {
    width: 350px;
    padding: 0;
}
.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}
.notification-item:hover {
    background-color: #f8f9fa;
}
.notification-item.unread {
    background-color: #f0f7ff;
}
.notification-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    color: #0d6efd;
}
.notification-content {
    flex: 1;
}
.notification-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.notification-btn {
    position: relative;
    color: #6c757d;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-right: 10px;
}
.notification-btn:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-btn.dropdown-toggle::after {
    display: none !important;
}

/* Only hide arrow for profile dropdown */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

/*
.myform {
    margin-bottom: 20px;
    font-family: "Barlow", sans-serif;
}


.myform label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.myform .input-with-icon {
    position: relative;
}

.myform .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}


.myform .input-with-icon input[type="text"],
.myform input[type="text"],
.myform input[type="email"],
.myform input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.myform .input-with-icon input:focus,
.myform input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    outline: none;
}
.form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }


.myform .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.myform .remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

.myform .remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.myform .remember label {
    color: #555;
    font-size: 0.9rem;
}

.myform .forgot-password {
    color: #0061ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.myform .forgot-password:hover {
    text-decoration: underline;
}


.myform .button {
    width: 100%;
    padding: 15px;
    background: #20bf6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.myform .button:hover {
    background: #0051d6;
}


.myform .divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.myform .divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.myform .divider span {
    background: #f8f9fa;
    padding: 0 15px;
    color: #777;
    position: relative;
    z-index: 1;
}


.myform .social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}


.myform .signup-link {
    text-align: center;
    color: #777;
}

.myform .signup-link a {
    color: #0061ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.myform .signup-link a:hover {
    text-decoration: underline;
}

.myform .password-toggle {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    color: #666;
    z-index: 5;
}

.myform .password-field-wrapper {
    position: relative;
}



/*****************************************************/
.PageHeader .upload-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
}

.PageHeader .upload-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.PageHeader .card-header {
    background: linear-gradient(135deg, var(--primary-color), #01a479);
    color: white;
    text-align: center;
    padding: 25px 20px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.PageHeader .card-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: var(--transition);
}

.PageHeader .card-header:hover::before {
    transform: rotate(30deg) translateX(50px);
}

.PageHeader .upload-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.PageHeader .card-body {
    padding: 30px;
}

/*************************************/



.MyForm {
    max-width: 900px;
    margin: 40px auto;
}
.MyForm .input-with-icon input[type="text"],
.MyForm input[type="text"],
.MyForm input[type="phone"],
.MyForm input[type="date"],
.MyForm input[type="email"],
.MyForm input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.MyForm select {
    width: 100%;
    padding: 15px 15px 15px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fff; /* ensures consistent look */
    appearance: none; /* removes default OS styles */
    -webkit-appearance: none;
    -moz-appearance: none;
}
.MyForm .password-toggle {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    color: #666;
    z-index: 5;
}
.MyForm .btn-upload {
    background: #20bf6b;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.MyForm .btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}
.MyForm .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.MyForm .form-label i {
    margin-right: 10px;
    color: var(--primary-color);
}

.MyForm .category-section {
    margin-bottom: 25px;
}

.MyForm .category-header {
    background-color: rgba(32, 191, 107, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.MyForm .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.MyForm .category-option {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.MyForm .category-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(32, 191, 107, 0.05);
}

.MyForm .category-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(32, 191, 107, 0.1);
}

.MyForm .category-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.MyForm .checkmark {
    height: 20px;
    width: 20px;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.MyForm .category-option.selected .checkmark {
    background-color: var(--primary-color);
}

.MyForm .checkmark:after {
    content: "";
    display: none;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.MyForm .category-option.selected .checkmark:after {
    display: block;
}

.MyForm .file-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
}

.MyForm .file-upload-container.active {
    border-color: var(--primary-color);
    background-color: rgba(32, 191, 107, 0.05);
}

.MyForm .file-upload-container:hover {
    border-color: var(--primary-color);
    background-color: #fff;
}

.MyForm .upload-preview {
    max-width: 100%;
    max-height: 200px;
    margin: 0 auto 15px;
    display: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.MyForm .file-input-label {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.MyForm .file-input-label:hover {
    color: var(--primary-color);
}

.MyForm .btn-upload {
    background: linear-gradient(45deg, var(--secondary-color), #ff8e8e);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.MyForm .btn-wide {
    background: #01a479;
    border: none;
    padding: 12px 100px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    color: white;
}
.MyForm .btn-google {
    border: 1px solid #CCC;
    padding: 12px 100px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    color: black;
}


.MyForm .btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.MyForm .btn-outline-secondary {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.MyForm .multi-select-note {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.MyForm .form-control:focus, .MyForm .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(32, 191, 107, 0.25);
}

.MyForm textarea.form-control {
    min-height: 100px;
    resize: vertical;
}
.MyForm .button {
    width: 100%;
    padding: 15px;
    background: #01a479;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.MyForm .button:hover {
    background: #0051d6;
}

@media (max-width: 768px) {
    .MyForm .category-grid {
        grid-template-columns: 1fr;
    }
    
    .MyForm .card-body {
        padding: 20px;
    }
    
    .MyForm {
        margin: 20px auto;
    }
}


/***************************************************/



.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
}
.forgot-password {
    color: #0061ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}


.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: #f8f9fa;
    padding: 0 15px;
    color: #777;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}


.signup-link {
    text-align: center;
    color: #777;
}

.signup-link a {
    color: #0061ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .container {
        /*flex-direction: column;*/
        max-width: 500px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
    }

    .left-panel {
        padding: 30px;
        text-align: center;
        align-items: center;
    }

    .right-panel {
        padding: 40px;
    }
}

/*EXPLORE CARD*/
    .card-hdr{
      padding: 10px 10px 0 10px;
    }
    .custom-card {
      border-radius: 5px;
      overflow: hidden;
      position: relative;
    }
    .card-title {
      font-weight: 600;
      font-size: 16px;
      margin-bottom: 1px;
    }
    .card-subtitle {
      font-size: 10px;
      padding-top: 5px;
      color: #666;
    }
    .card-subtitle a {
      text-decoration: none;
      color: #01a479;
    }
    .author-img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #fff;
      position: absolute;
      bottom: 58px;
      right: 10px;
    }
    .card-footer {
      background: #fff;
      border-top: none;
      font-size: 14px;
    }
    .card-footer i {
      font-size: 12px;
      margin-right: 12px;
      cursor: pointer;
      font-style: normal;
    }
    .designer-btn {
      font-size: 8px;
    padding: 4px 8px;
  border-radius: 20px;
  text-transform: uppercase;

    }

    /*COMMENTS LIST*/
    .comments-list {
        border-bottom: #777 solid 1px !important;
    }
/*Toggle button*/
.toggleContainer {
   position: relative;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   width: fit-content;
   border: 1px solid #20bf6b;
   border-radius: 20px;
   background: #20bf6b;
   color: #343434;
   cursor: pointer;
   font-size: small;
 }
 .toggleContainer::before {
   content: '';
   position: absolute;
   width: 50%;
   height: 100%;
   left: 0%;
   border-radius:20px;
   background: white;
   transition: all 0.3s;
 }
 .toggleCheckbox:checked + .toggleContainer::before {
    left: 50%;
 }
 .toggleContainer div {
   padding: 6px 15px;
   text-align: center;
   z-index: 1;
 }
 .toggleCheckbox {
   display: none;
 }
 .toggleCheckbox:checked + .toggleContainer div:first-child{
   color: white;
   transition: color 0.3s;
 }
 .toggleCheckbox:checked + .toggleContainer div:last-child{
   color: #343434;
   transition: color 0.3s;
 }
 .toggleCheckbox + .toggleContainer div:first-child{
   color: #343434;
   transition: color 0.3s;
 }
 .toggleCheckbox + .toggleContainer div:last-child{
   color: white;
   transition: color 0.3s;
 }