/* layout.css - Cấu trúc trang chính */

.main-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 10px auto 0;
    padding: 0 5px 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
    min-height: auto;
}

.container-wrapper {
    position: relative;
    width: 100%;
    margin: 30px auto 0;
    z-index: 2;
}

.container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 450px;
    padding: 50px 30px 15px;
    position: relative;
    overflow: visible;
    min-height: 300px;
    transition: height 0.3s ease;
    z-index: 2;
}

/* Logo & Header */
.logo-container-outside {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 5;
    margin: 10px auto -30px;
}

.logo {
    max-width: 150px;
    height: auto;
    display: inline-block;
    animation: fadeIn 0.8s;
	padding-bottom: 10px;
}

.register-overlay {
    position: absolute;
    width: 260px;
    max-width: 90%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    padding: 5px 15px;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(-45deg, #f5515f, #e73c7e, #ff416c, #ff4b2b);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
}

.tagline {
    margin-top: 5px;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(to right, #ff6b6b, #ffb347, #2ecc71, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorChange 4s linear infinite;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tagline:before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 179, 71, 0.2), rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2));
    filter: blur(5px);
    z-index: -1;
}