/* General Styles */
.wkd-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wkd-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.wkd-form-group input[type="text"],
.wkd-form-group input[type="email"],
.wkd-form-group input[type="password"],
.wkd-form-group input[type="number"],
.wkd-form-group input[type="date"],
.wkd-form-group select,
.wkd-form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 0;
    box-shadow: none;
}

.wkd-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.wkd-form-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wkd-form-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Profile Styles */
.wkd-btn-logout {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    border: 1px solid;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wkd-btn-logout:hover {
    border-color: #ee476b;
    background: linear-gradient(98deg, #F05A8E 6.3%, #ED1C24 70.34%);
    color: #ffff;
}

.wkd-profile {
    max-width: 1200px;
    margin: 0 auto;
}


.wkd-profile__main {
    position: relative;
    padding: 0 20px;
    margin-top: -294px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.wkd-profile__photo {
    height: 320px;
    width: 220px;
    transform: translate(20px, 20px);
    border: 4px solid #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.wkd-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wkd-profile__name {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

.wkd-profile__status {
    margin: 5px 0;
    color: #fff;
    font-size: 14px;
}

.wkd-profile__active-time {
    color: #999;
}


.wkd-profile__nav-list {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 30px;
    padding: 0 20px;
    padding-left: 23%;
}

.wkd-profile__nav-item {
    padding: 15px 0;
}

.wkd-profile__nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 16px;
}

.wkd-profile__nav-item--active .wkd-profile__nav-link {
    color: #ff6b6b;
    position: relative;
}

/* Profile Cards */
.wkd-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wkd-profile-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wkd-profile-card__photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wkd-profile-card__info {
    padding: 15px;
}

.wkd-profile-card__title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.wkd-profile-card__meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

/* Tags */
.wkd-tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px 5px 0;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

/* Social Links */
.wkd-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wkd-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wkd-social-link__text {
    font-size: 14px;
}
@media (min-width: 768px) {
    /* style PC */
    .wkd-profile__info {
        margin-bottom: 42px;
        margin-left: 45px;
    }
    .wkd-profile__name{
        color: #fff;
    }

}
/* Responsive Design */
@media (max-width: 768px) {
    .wkd-profile__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -80px;
    }

    .wkd-profile__photo {
        width: 120px;
        height: 120px;
    }

    .wkd-profile__nav-list {
        justify-content: center;
    }

    .wkd-social-links {
        justify-content: center;
    }
    .wkd-profile__photo{
        transform: translate(0, 0) !important;
    }
    .wkd-profile__name{
        color: #000;
    }
    .wkd-profile__info{
        width: 100%;
    }
}

/* Search Form */
.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.age-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-range input {
    width: 80px;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.wkd-dating-register-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.wkd-dating-register-form h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.wkd-dating-form .form-group {
    margin-bottom: 20px;
}

.wkd-dating-form input[type="text"],
.wkd-dating-form input[type="password"],
.wkd-dating-form select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
}

.wkd-dating-form .birth-date {
    display: flex;
    gap: 15px;
}

.wkd-dating-form .birth-date select {
    flex: 1;
}

.wkd-dating-form .password-hint {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    margin-left: 15px;
}

.wkd-dating-form .terms {
    text-align: center;
}

.wkd-dating-form .terms a {
    color: #ff6b6b;
    text-decoration: none;
}

.wkd-dating-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(to right, #ff6b6b, #ff4757);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.wkd-dating-form .form-footer {
    text-align: center;
    margin-top: 20px;
}

.wkd-dating-form .form-footer a {
    color: #2f3542;
    text-decoration: none;
    font-weight: bold;
}

.wkd-profile__content {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 15px;
}

.wkd-profile__content-left {
    grid-column: span 2 / span 2;
}

.wkd-search-widget {
    grid-column-start: 3;
}

/* Upload Component */

.wkd-upload__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(98deg, #F05A8E 6.3%, #ED1C24 70.34%);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wkd-upload__icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.wkd-upload__text {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
}

.wkd-upload__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Preview Section */
.wkd-upload__preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.wkd-upload__preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wkd-upload__preview-item:hover {
    transform: translateY(-2px);
}

.wkd-upload__preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wkd-upload__preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #dc3545;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.wkd-upload__preview-remove:hover {
    background: #dc3545;
    color: #fff;
}

/* Drag & Drop States */
.wkd-upload__btn--dragover {
    background: #e9ecef;
    border-color: #ff6b6b;
    border-style: solid;
}

/* Loading State */
.wkd-upload__btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Error State */
.wkd-upload__error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Success State */
.wkd-upload__success {
    color: #28a745;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wkd-upload__preview {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

.wkd-social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Search Widget */
.wkd-search-widget h2 {
    font-size: 20px;
    color: #2B044D;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.wkd-search-form__group {
    width: 100%;
}

.wkd-search-form__select {
    width: 100%;
    font-size: 14px;
    color: #2B044D;
    background: #fff;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.wkd-search-form__select:focus {
    outline: none;
    border-color: #2B044D;
}

/* Age Range Styles */
.wkd-search-form__age {
    display: flex;
    gap: 10px;
}

/* Button Styles */
.wkd-search-form__button {
    width: 100%;
    padding: 6px 15px;
    background: linear-gradient(98deg, #F05A8E 6.3%, #ED1C24 70.34%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wkd-search-widget {
        margin-top: 20px;
    }

    .wkd-profile__content {
        grid-template-columns: 1fr;
    }

    .wkd-profile__content-left,
    .wkd-search-widget {
        grid-column: span 1;
    }
}

/* Placeholder Color */
.wkd-search-form__select option[disabled] {
    color: #666;
}

.wkd-search-form__select option {
    color: #2B044D;
}

/* Gallery Styles */
.wkd-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.wkd-gallery__item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wkd-gallery__item:hover {
    transform: translateY(-2px);
}

.wkd-gallery__image {
    position: relative;
    width: 100%;
    height: 100%;
}

.wkd-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wkd-gallery__actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wkd-gallery__item:hover .wkd-gallery__actions {
    opacity: 1;
}

.wkd-gallery__delete {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wkd-gallery__delete:hover {
    background: #dc3545;
    color: #fff;
}

/* Upload Section Styles */
.wkd-upload {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .wkd-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wkd-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wkd-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Loading State */
.wkd-gallery__item.is-loading {
    position: relative;
}

.wkd-gallery__item.is-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkd-gallery__item.is-loading::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wkd-interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wkd-term {
    background-color: #f0f2f5;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #65676b;
    display: inline-block;
    position: relative;
}

.wkd-term:hover {
    background-color: #e4e6eb;
}

.wkd-term__delete {
    width: 20px;
    height: 20px;
    background: #ed1c25;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -8px;
    top: -6px;
    color: #fff;
    cursor: pointer;
}

/* Profile Edit Styles */
.wkd-profile-edit {
    margin-bottom: 20px;
    text-align: right;
}

.wkd-profile-edit__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f2f5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wkd-profile-edit__btn img {
    width: 16px;
    height: 16px;
}

.wkd-profile-edit__btn:hover {
    background: #e4e6eb;
}

.wkd-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
    background: linear-gradient(98deg, #F05A8E 6.3%, #ED1C24 70.34%);
}

.wkd-btn--primary {
    color: #fff;
}

.wkd-btn--secondary {
    background: #f0f2f5;
    color: #65676b;
    margin-left: 10px;
}

.wkd-btn:hover {
    opacity: 0.9;
}

.wkd-btn svg {
    width: 20px;
    height: 20px;
}

/* VIP Upgrade Notification */
.wkd-vip-upgrade {
    position: relative;
    display: inline-block;
}

.wkd-vip-upgrade .wkd-vip-tooltip {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wkd-vip-upgrade:hover .wkd-vip-tooltip {
    visibility: visible;
    opacity: 1;
}

.wkd-vip-upgrade .wkd-vip-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.wkd-vip-upgrade-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.wkd-vip-upgrade-button:hover {
    background: linear-gradient(45deg, #ff5252, #ff7676);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Profile Visibility */
.wkd-profile-hidden {
    position: relative;
    overflow: hidden;
}

.wkd-profile-hidden::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.wkd-profile-hidden .wkd-vip-upgrade {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* VIP Badge */
.wkd-vip-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    text-transform: uppercase;
}

.wkd-interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.wkd-interest-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wkd-interest-checkbox:hover {
    background: #e9e9e9;
}

.wkd-interest-checkbox input[type="checkbox"],
.wkd-looking-for-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.wkd-interest-label,
.wkd-looking-for-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.wkd-looking-for-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wkd-looking-for-grid{
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .wkd-interests-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.wkd-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wkd-form-group label {
    font-weight: 500;
    color: #333;
}

.wkd-form-group input,
.wkd-form-group select {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.wkd-form-group input:focus,
.wkd-form-group select:focus {
    border-color: #3498db;
    outline: none;
}

.wkd-select-wrapper {
    position: relative;
}

.wkd-form-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.wkd-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.wkd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.wkd-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wkd-info-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.wkd-info-value {
    color: #333;
    font-size: 16px;
}

.wkd-date-picker {
    position: relative;
}

.wkd-date-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

.wkd-visibility-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.wkd-visibility-toggle__input {
    display: none;
}

.wkd-visibility-toggle__label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.wkd-visibility-toggle__label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.wkd-visibility-toggle__input:checked+.wkd-visibility-toggle__label::before {
    background-color: red;
    border-color: #3498db;
}

.wkd-visibility-toggle__text {
    font-size: 14px;
    color: #333;
}