.blob {
    position: fixed;       /* FIXED so it stays relative to viewport */
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: blur(120px);
    opacity: 0.5;
    background: radial-gradient(circle, rgba(0,255,255,0.5), transparent 70%);
    z-index: 0;            /* behind other content */
}


#sessionModal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
    font-size: 12px;
}

#sessionModal a {
    color: #ffcc00;
    text-decoration: none;
    margin-left: 10px;
}

#sessionModal a:hover {
    text-decoration: underline;
}

#skills {
    /* padding-top: 100px; */
    padding-bottom: 140px;
}

.item.back-end .c-project-info-ttl {
    margin-bottom: 6px;
}

.item.front-end:hover .c-project-info-detail {
    color:#77C9C6;
}

.item.back-end:hover .c-project-info-detail {
    color:#77C9C6!important;
}

#about {
    padding-bottom: 100px;
}


#projects {
    padding-bottom: 180px;
}

#offer {
    padding-bottom: 100px;
}

.c-back-end-projects-container img,
.owl-carousel .owl-item img {
    height: 100px;
    width: 200px;
}

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal.show {
    display: block; /* Shown when PHP adds the class */
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Modal heading */
.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Login form layout */
.login-form {
    display: flex;
    flex-direction: column;
}

/* Input fields */
.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Submit button */
.login-form button {
    padding: 10px;
    background-color: #025043;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
}


.success-message,
.error-message {
    opacity: 1; /* stays visible */
}

.message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    list-style-type: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    animation: fadeInMessage 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 1; /* <- keeps it visible */
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    animation: shakeFadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 1; /* <- keeps it visible */
}


/* Success Animation */
@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-10px); /* slight upward */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Animation */
@keyframes shakeFadeIn {
    0% { opacity: 0; transform: translateX(-10px); }
    25% { opacity: 1; transform: translateX(10px); }
    50% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

.c-design-note {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.c-design-note span {
    color: #fff;
}

.c-test-account {
    font-size: 14px;
}