/* ============================================
   SOCIAL FEATURES STYLES FOR VADA VADA VITRINE
   Auth Modal, Comments, Saves - Y2K Aesthetic
   ============================================ */

/* ============================================
   NOTIFICATIONS
   ============================================ */
.vv-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Lacquer', cursive;
    font-size: 16px;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.vv-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.vv-notification-success {
    background: linear-gradient(135deg, #7ef161, #44d62c);
    color: #000;
    border: 2px solid #2a8c1a;
}

.vv-notification-error {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: #fff;
    border: 2px solid #c0392b;
}

.vv-notification-info {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    border: 2px solid #5b21b6;
}

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.auth-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 3px solid #a855f7;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.auth-modal.show .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
    line-height: 1;
}

.auth-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-modal-title {
    font-family: 'Lacquer', cursive;
    font-size: 32px;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

.auth-modal-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Lacquer', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.auth-tab.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-input-group input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Lacquer', cursive;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-forgot-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: #a855f7;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 16px;
}

/* Google Button */
.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: none;
    border-radius: 12px;
    color: #333;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-google-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.auth-google-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   USER INFO IN HEADER
   ============================================ */
.user-info {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.3);
    font-size: 16px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: #fff;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
    margin-top: 40px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.comments-title {
    font-family: 'Lacquer', cursive;
    font-size: 24px;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Comment Form */
#comment-form {
    margin-bottom: 24px;
}

.comment-input-wrapper {
    display: flex;
    gap: 12px;
}

#comment-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    resize: none;
    min-height: 48px;
    transition: all 0.2s;
}

#comment-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#comment-input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.comment-submit-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-family: 'Lacquer', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
}

.login-prompt {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.login-prompt a {
    color: #a855f7;
    text-decoration: none;
    font-weight: bold;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* Comments Container */
#comments-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-loading,
.no-comments,
.comments-error {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding: 30px;
}

/* Individual Comment */
.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s;
}

.comment:hover {
    background: rgba(255, 255, 255, 0.08);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    font-size: 18px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-meta {
    flex: 1;
    min-width: 0;
}

.comment-author {
    display: block;
    font-family: 'Lacquer', cursive;
    font-size: 14px;
    color: #fff;
}

.comment-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.comment-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.comment-delete:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.comment-body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

.comment-reply-btn,
.comment-show-replies {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Lacquer', cursive;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.comment-reply-btn:hover,
.comment-show-replies:hover {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

/* Reply Form */
.reply-form-container {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-input {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Lacquer', cursive;
    font-size: 13px;
    resize: vertical;
}

.reply-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.reply-input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.08);
}

.reply-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.reply-submit-btn,
.reply-cancel-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Lacquer', cursive;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.reply-submit-btn {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

.reply-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.reply-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.reply-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Replies Container */
.replies-container {
    margin-top: 16px;
    padding-left: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.reply {
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.reply-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.reply-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.reply-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.reply-author {
    font-family: 'Lacquer', cursive;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.reply-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.reply-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.reply-delete:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.reply-body {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    margin-left: 34px;
}

/* ============================================
   SAVE BUTTON
   ============================================ */
.save-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #fff;
    font-family: 'Lacquer', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.save-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.save-button.saved {
    background: linear-gradient(135deg, #ff6b9d, #ff4757);
    border-color: #ff4757;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
}

.save-button.saved:hover {
    box-shadow: 0 6px 30px rgba(255, 71, 87, 0.6);
}

/* ============================================
   AUTH BUTTON IN HEADER
   ============================================ */
.auth-header-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Lacquer', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.auth-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .auth-modal-content {
        padding: 24px;
        border-radius: 20px;
    }
    
    .auth-modal-title {
        font-size: 26px;
    }
    
    .comment-input-wrapper {
        flex-direction: column;
    }
    
    .comment-submit-btn {
        width: 100%;
    }
    
    .comments-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}



