/* Basic Button Styles for EduTechy */

/* Base button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    box-sizing: border-box;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3730A3 0%, #6D28D9 100%);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px 0 rgba(79, 70, 229, 0.3);
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0c4a6e;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
}

/* Login button */
.btn-login {
    background: white;
    color: black;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
    color: #0c4a6e;
}

/* Signup button */
.btn-signup {
    background: white;
    color: black;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transition: left 0.5s;
}

.btn-signup:hover::before {
    left: 100%;
}

.btn-signup:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
    color: #0c4a6e;
}

/* Disabled button */
.btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

/* Button focus */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* Responsive buttons */
@media (max-width: 600px) {
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 40px;
    }
}
