/* =================================
   Global Page Style
================================= */

/* ET 13March2026 Global background for all pages */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;

    background-image: url('../water3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =================================
   Top Navigation
================================= */

.top-bar{
    width:100%;
    text-align:center;
    padding:20px 0 10px 0;
}

.top-links a{
    text-decoration:none;
    font-weight:600;
    color:#333;
    margin:0 10px;
    font-size:14px;
}

.top-links a:hover{
    text-decoration:underline;
}

.divider{
    color:#aaa;
}


/* =================================
   Page Content
================================= */

.content{
    text-align:center;
    margin-top:40px;
    padding:20px;
}

.page-title{
    font-size:24px;
    margin-bottom:30px;
    font-weight:600;
}


/* =================================
   Certificate Tiles
================================= */

.cert-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
    margin-top:30px;
}

.cert-tile{
    width:220px;
    height:160px;
    border:2px solid #dcdcdc;
    border-radius:10px;
    background:white;
    text-decoration:none;
    color:#333;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    transition:all .2s ease;
}

.cert-tile:hover{
    transform:translateY(-5px);
    box-shadow:0 6px 18px rgba(0,0,0,0.18);
    border-color:#4a90e2;
}

.cert-icon{
    font-size:48px;
    margin-bottom:10px;
}

.cert-name{
    font-size:10px;
    font-weight:600;
    text-align:center;
    padding:0 10px;
    word-break:break-word;
}


/* =================================
   Login Box
================================= */

.login-box{
    width:320px;
    margin:120px auto;
    background:white;
    padding:35px;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
    text-align:center;
}

.login-box h2{
    margin-bottom:25px;
}

.login-box input{
    width:100%;
    padding:10px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:4px;
    font-size:14px;
}

.login-box button{
    width:100%;
    padding:10px;
    background:#2c6ecb;
    border:none;
    color:white;
    font-size:15px;
    font-weight:bold;
    border-radius:4px;
    cursor:pointer;
}

.login-box button:hover{
    background:#1f55a2;
}


/* =================================
   Error Message
================================= */

.error{
    color:red;
    font-size:13px;
    margin-top:10px;
}
.cert-icon img {
    width: 60px;
    height: auto;
}
/* Container to center forms */
.form-container {
    max-width: 700px;
    margin: 0 auto; /* centers the div */
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Make inputs and textarea full width */
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0 15px 0;
    box-sizing: border-box;
}

/* Labels styling */
.form-container label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Buttons spacing */
.form-container button {
    padding: 8px 14px;
    margin-top: 10px;
    cursor: pointer;
}

/* Headings spacing */
.form-container h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Messages */
.message {
    color: green;
    font-weight: bold;
    margin: 15px 0;
}

/* Links */
.container a {
    display: inline-block;
    margin-bottom: 20px;
    color: #007BFF;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}
</style>