/* ThaiD Logo Button Styles - Primary Login Method */
.thaid-logo-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 3px solid #1a237e;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(26, 35, 126, 0.2);
}

.thaid-logo-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(26, 35, 126, 0.35);
    border-color: #0d1057;
    background: linear-gradient(135deg, #ffffff 0%, #e8ecff 100%);
}

.thaid-logo-btn:active {
    transform: translateY(-2px) scale(1.0);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.25);
}

.thaid-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 30px;
    position: relative;
}

.thaid-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    transition: all 0.4s ease;
    background: white;
    padding: 5px;
}

.thaid-logo-btn:hover .thaid-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.thaid-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a237e;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.thaid-logo-btn:hover .thaid-text {
    color: #0d1057;
    transform: scale(1.05);
}

/* เพิ่ม Shimmer Animation Effect */
.thaid-logo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(26, 35, 126, 0.15), 
        transparent
    );
    transition: left 0.6s ease;
}

.thaid-logo-btn:hover::before {
    left: 100%;
}

/* เพิ่ม Glow Effect */
.thaid-logo-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1a237e, #4a5fc1, #1a237e);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.thaid-logo-btn:hover::after {
    opacity: 0.4;
}

/* Responsive Design */
@media (max-width: 480px) {
    .thaid-logo {
        width: 50px;
        height: 50px;
    }
    
    .thaid-text {
        font-size: 1.1rem;
    }
    
    .thaid-logo-container {
        gap: 15px;
        padding: 14px 20px;
    }
    
    .thaid-logo-btn {
        max-width: 100%;
    }
}

/* เก็บ class เก่าไว้เผื่อใช้งานอื่น */
.btn-thaid {
    width: 100%;
    background: linear-gradient(135deg, #0066ff 0%, #004db8 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.btn-thaid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    background: linear-gradient(135deg, #0052cc 0%, #003d8f 100%);
}

.btn-thaid:active {
    transform: translateY(0);
}